Paranoia is a shadcn/ui theme built around a vivid deep purple primary color (#7d0486) with vivid deep teal accents (#04867d). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep purple primary (#7d0486) on a purple-tinted background (#0a050b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a050bblack |
| Foreground | #000000black | #ffffffwhite |
| Card | #fcfcfcsnow | #0e060eblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #0a050bblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #7d0486purple | #7d0486purple |
| Primary foreground | #f9bffdlavender | #f9bffdlavender |
| Secondary | #867d04olive | #867d04olive |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #edebd9antiquewhite | #262512black |
| Muted foreground | #4d4d4ddarkslategray | #b3b3b3darkgray |
| Accent | #04867dteal | #04867dteal |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #b52212firebrick | #da2916firebrick |
| Destructive foreground | #fffbfasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7d0486purple | #7d0486purple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 4.25:1 | AA Large |
| Muted text | 7.05:1 | AAA |
| Accent | 4.48:1 | AA Large |
| Destructive | 6.37:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 4.25:1 | AA Large |
| Muted text | 7.41:1 | AAA |
| Accent | 4.48:1 | AA Large |
| Destructive | 4.86:1 | AA |
Paste this into your globals.css to use Paranoia in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.938 0.024 103.532);
--muted-foreground: oklch(0.418 0 173.29);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.421 0.194 324.85);
--primary-foreground: oklch(0.875 0.105 324.222);
--secondary: oklch(0.579 0.122 104.687);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.557 0.097 186.835);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.501 0.184 30.515);
--destructive-foreground: oklch(0.99 0.004 25.023);
--ring: oklch(0.421 0.194 324.85);
--chart-1: oklch(0.421 0.194 324.85);
--chart-2: oklch(0.579 0.122 104.687);
--chart-3: oklch(0.557 0.097 186.835);
--chart-4: oklch(0.625 0.131 104.643);
--chart-5: oklch(0.425 0.197 324.817);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.021 324.813);
--foreground: oklch(1 0 180);
--muted: oklch(0.259 0.031 104.828);
--muted-foreground: oklch(0.765 0 172.405);
--popover: oklch(0.126 0.021 324.813);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.139 0.024 324.598);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.421 0.194 324.85);
--primary-foreground: oklch(0.875 0.105 324.222);
--secondary: oklch(0.579 0.122 104.687);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.557 0.097 186.835);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.575 0.213 30.52);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.421 0.194 324.85);
--chart-1: oklch(0.421 0.194 324.85);
--chart-2: oklch(0.579 0.122 104.687);
--chart-3: oklch(0.557 0.097 186.835);
--chart-4: oklch(0.625 0.131 104.643);
--chart-5: oklch(0.425 0.197 324.817);
}