Connecticut Lilac Penguin for shadcn/ui

Connecticut Lilac Penguin is a shadcn/ui theme built around a vivid light violet primary color (#d4c2f9) with vivid light purple accents (#efc2f9). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the vivid light violet primary (#d4c2f9) on a neutral background (#020104).

Color palette

TokenLightDark
Background
#fcfbfewhite
#020104black
Foreground
#040209black
#f7f6f9whitesmoke
Card
#fcfbfewhite
#020104black
Card foreground
#040209black
#f7f6f9whitesmoke
Popover
#fcfbfewhite
#020104black
Popover foreground
#040209black
#f7f6f9whitesmoke
Primary
#d4c2f9thistle
#d4c2f9thistle
Primary foreground
#300c7eindigo
#300c7eindigo
Secondary
#c2ccf9lightblue
#c2ccf9lightblue
Secondary foreground
#0c217emidnightblue
#0c217emidnightblue
Muted
#f0f1f5whitesmoke
#0a0b0fblack
Muted foreground
#484b56darkslategray
#a9abb7darkgray
Accent
#efc2f9lavender
#efc2f9lavender
Accent foreground
#690c7epurple
#690c7epurple
Destructive
#830f02maroon
#fb2f18orangered
Destructive foreground
#fec0b9lightpink
#ffffffwhite
Border
#e8e7e9lavender
#1c1b1dblack
Input
#e8e7e9lavender
#1c1b1dblack
Ring
#d4c2f9thistle
#d4c2f9thistle

Contrast

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

Light mode
Text on background20.02:1AAA
Text on card20.02:1AAA
Primary button8.72:1AAA
Secondary button8.70:1AAA
Muted text7.68:1AAA
Accent7.05:1AAA
Destructive6.63:1AA
Dark mode
Text on background19.29:1AAA
Text on card19.29:1AAA
Primary button8.72:1AAA
Secondary button8.70:1AAA
Muted text8.59:1AAA
Accent7.05:1AAA
Destructive3.79:1AA Large

CSS variables

Paste this into your globals.css to use Connecticut Lilac Penguin in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.004 300.707);
  --foreground: oklch(0.095 0.027 301.278);
  --muted: oklch(0.958 0.005 276.096);
  --muted-foreground: oklch(0.413 0.02 275.495);
  --popover: oklch(0.99 0.004 300.707);
  --popover-foreground: oklch(0.095 0.027 301.278);
  --card: oklch(0.99 0.004 300.707);
  --card-foreground: oklch(0.095 0.027 301.278);
  --border: oklch(0.929 0.003 300.723);
  --input: oklch(0.929 0.003 300.723);
  --primary: oklch(0.848 0.078 299.237);
  --primary-foreground: oklch(0.309 0.167 285.376);
  --secondary: oklch(0.854 0.064 275.067);
  --secondary-foreground: oklch(0.311 0.157 265.979);
  --accent: oklch(0.872 0.089 320.074);
  --accent-foreground: oklch(0.386 0.177 318.733);
  --destructive: oklch(0.389 0.15 30.872);
  --destructive-foreground: oklch(0.861 0.073 25.904);
  --ring: oklch(0.848 0.078 299.237);
  --chart-1: oklch(0.848 0.078 299.237);
  --chart-2: oklch(0.854 0.064 275.067);
  --chart-3: oklch(0.872 0.089 320.074);
  --chart-4: oklch(0.888 0.048 275.389);
  --chart-5: oklch(0.846 0.081 299.176);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.082 0.013 301.041);
  --foreground: oklch(0.974 0.005 300.683);
  --muted: oklch(0.152 0.008 275.401);
  --muted-foreground: oklch(0.744 0.017 275.86);
  --popover: oklch(0.082 0.013 301.041);
  --popover-foreground: oklch(0.974 0.005 300.683);
  --card: oklch(0.082 0.013 301.041);
  --card-foreground: oklch(0.974 0.005 300.683);
  --border: oklch(0.224 0.004 300.442);
  --input: oklch(0.224 0.004 300.442);
  --primary: oklch(0.848 0.078 299.237);
  --primary-foreground: oklch(0.309 0.167 285.376);
  --secondary: oklch(0.854 0.064 275.067);
  --secondary-foreground: oklch(0.311 0.157 265.979);
  --accent: oklch(0.872 0.089 320.074);
  --accent-foreground: oklch(0.386 0.177 318.733);
  --destructive: oklch(0.638 0.239 30.515);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.848 0.078 299.237);
  --chart-1: oklch(0.848 0.078 299.237);
  --chart-2: oklch(0.854 0.064 275.067);
  --chart-3: oklch(0.872 0.089 320.074);
  --chart-4: oklch(0.888 0.048 275.389);
  --chart-5: oklch(0.846 0.081 299.176);
}