Purple Dreamer Whitefish for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.82:1AAA
Text on card19.69:1AAA
Primary button6.78:1AA
Secondary button6.54:1AA
Muted text5.73:1AA
Accent7.07:1AAA
Destructive7.02:1AAA
Dark mode
Text on background19.79:1AAA
Text on card20.00:1AAA
Primary button6.78:1AA
Secondary button6.54:1AA
Muted text8.06:1AAA
Accent7.07:1AAA
Destructive5.35:1AA

CSS variables

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);
}