Purple Dreamer Whitefish is a shadcn/ui theme built around a vivid deep purple primary color (#600863) with vivid deep teal accents (#086360). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep purple primary (#600863) on a purple-tinted background (#0b040b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b040bblack |
| Foreground | #160317black | #fdfcfdwhite |
| Card | #fcfcfcsnow | #0f050fblack |
| Card foreground | #120212black | #ffffffwhite |
| Popover | #fcfcfcsnow | #0f050fblack |
| Popover foreground | #120212black | #ffffffwhite |
| Primary | #600863indigo | #600863indigo |
| Primary foreground | #f5a5f8plum | #f5a5f8plum |
| Secondary | #636008darkolivegreen | #636008darkolivegreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e1e0dbgainsboro | #24241eblack |
| Muted foreground | #565543darkolivegreen | #bcbba9silver |
| Accent | #086360teal | #086360teal |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #750e0amaroon | #d31912firebrick |
| Destructive foreground | #f9bbb9lightpink | #ffffffwhite |
| Border | #eeeceewhitesmoke | #231f23black |
| Input | #eeeceewhitesmoke | #231f23black |
| Ring | #600863indigo | #600863indigo |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.82:1 | AAA |
| Text on card | 19.69:1 | AAA |
| Primary button | 6.78:1 | AA |
| Secondary button | 6.54:1 | AA |
| Muted text | 5.73:1 | AA |
| Accent | 7.07:1 | AAA |
| Destructive | 7.02:1 | AAA |
| Text on background | 19.79:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 6.78:1 | AA |
| Secondary button | 6.54:1 | AA |
| Muted text | 8.06:1 | AAA |
| Accent | 7.07:1 | AAA |
| Destructive | 5.35:1 | AA |
Paste this into your globals.css to use Purple Dreamer Whitefish in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.15 0.054 326.652);
--muted: oklch(0.906 0.007 104.941);
--muted-foreground: oklch(0.445 0.028 105.843);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.136 0.048 326.699);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.136 0.048 326.699);
--border: oklch(0.945 0.004 324.647);
--input: oklch(0.945 0.004 324.647);
--primary: oklch(0.35 0.154 326.647);
--primary-foreground: oklch(0.827 0.141 325.614);
--secondary: oklch(0.477 0.099 107.411);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.452 0.076 191.071);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.362 0.137 28.642);
--destructive-foreground: oklch(0.847 0.072 20.954);
--ring: oklch(0.35 0.154 326.647);
--chart-1: oklch(0.35 0.154 326.647);
--chart-2: oklch(0.477 0.099 107.411);
--chart-3: oklch(0.452 0.076 191.071);
--chart-4: oklch(0.524 0.11 107.397);
--chart-5: oklch(0.353 0.157 326.648);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.024 325.961);
--foreground: oklch(0.992 0.001 324.626);
--muted: oklch(0.257 0.009 105.425);
--muted-foreground: oklch(0.788 0.025 105.339);
--popover: oklch(0.139 0.028 325.883);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.139 0.028 325.883);
--card-foreground: oklch(1 0 180);
--border: oklch(0.246 0.011 324.897);
--input: oklch(0.246 0.011 324.897);
--primary: oklch(0.35 0.154 326.647);
--primary-foreground: oklch(0.827 0.141 325.614);
--secondary: oklch(0.477 0.099 107.411);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.452 0.076 191.071);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.552 0.216 29.021);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.35 0.154 326.647);
--chart-1: oklch(0.35 0.154 326.647);
--chart-2: oklch(0.477 0.099 107.411);
--chart-3: oklch(0.452 0.076 191.071);
--chart-4: oklch(0.524 0.11 107.397);
--chart-5: oklch(0.353 0.157 326.648);
}