Connecticut Lilac Reindeer for shadcn/ui

Connecticut Lilac Reindeer is a shadcn/ui theme built around a light indigo primary color (#c4b8ea) with muted light indigo accents (#bfb9d5). The light mode uses a neutral background (#ffffff). Dark mode keeps the light indigo primary (#c4b8ea) on an indigo-tinted background (#070510).

Color palette

TokenLightDark
Background
#ffffffwhite
#070510black
Foreground
#070311black
#fcfcfdwhite
Card
#ffffffwhite
#070510black
Card foreground
#070311black
#fcfcfdwhite
Popover
#ffffffwhite
#070510black
Popover foreground
#070311black
#fcfcfdwhite
Primary
#c4b8ealightsteelblue
#c4b8ealightsteelblue
Primary foreground
#281a56midnightblue
#281a56midnightblue
Secondary
#d8d5e1gainsboro
#18161dblack
Secondary foreground
#3c374edarkslategray
#ada9bcdarkgray
Muted
#f2f1f3whitesmoke
#0c0c0eblack
Muted foreground
#64626adimgray
#97959ddarkgray
Accent
#bfb9d5lightsteelblue
#292537darkslategray
Accent foreground
#282239darkslategray
#c1bcd2silver
Destructive
#b72201firebrick
#fe3001orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eaeaeblavender
#1e1d20black
Input
#eaeaeblavender
#1e1d20black
Ring
#c4b8ealightsteelblue
#c4b8ealightsteelblue

Contrast

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

Light mode
Text on background20.38:1AAA
Text on card20.38:1AAA
Primary button8.31:1AAA
Secondary button7.87:1AAA
Muted text5.34:1AA
Accent8.06:1AAA
Destructive6.48:1AA
Dark mode
Text on background19.74:1AAA
Text on card19.74:1AAA
Primary button8.31:1AAA
Secondary button7.83:1AAA
Muted text6.61:1AA
Accent8.04:1AAA
Destructive3.73:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.119 0.035 294.85);
  --muted: oklch(0.96 0.002 297.034);
  --muted-foreground: oklch(0.5 0.013 296.611);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.119 0.035 294.85);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.119 0.035 294.85);
  --border: oklch(0.937 0.002 297.037);
  --input: oklch(0.937 0.002 297.037);
  --primary: oklch(0.81 0.07 295.49);
  --primary-foreground: oklch(0.275 0.104 288.35);
  --secondary: oklch(0.88 0.017 296.736);
  --secondary-foreground: oklch(0.352 0.039 295.012);
  --accent: oklch(0.8 0.04 296.177);
  --accent-foreground: oklch(0.271 0.042 294.104);
  --destructive: oklch(0.504 0.187 32.635);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.81 0.07 295.49);
  --chart-1: oklch(0.81 0.07 295.49);
  --chart-2: oklch(0.88 0.017 296.736);
  --chart-3: oklch(0.8 0.04 296.177);
  --chart-4: oklch(0.906 0.013 296.819);
  --chart-5: oklch(0.807 0.074 295.391);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.126 0.027 295.464);
  --foreground: oklch(0.992 0.001 297.061);
  --muted: oklch(0.155 0.004 296.636);
  --muted-foreground: oklch(0.674 0.012 296.757);
  --popover: oklch(0.126 0.027 295.464);
  --popover-foreground: oklch(0.992 0.001 297.061);
  --card: oklch(0.126 0.027 295.464);
  --card-foreground: oklch(0.992 0.001 297.061);
  --border: oklch(0.234 0.005 296.717);
  --input: oklch(0.234 0.005 296.717);
  --primary: oklch(0.81 0.07 295.49);
  --primary-foreground: oklch(0.275 0.104 288.35);
  --secondary: oklch(0.206 0.013 295.911);
  --secondary-foreground: oklch(0.744 0.029 296.381);
  --accent: oklch(0.278 0.032 294.924);
  --accent-foreground: oklch(0.807 0.03 296.404);
  --destructive: oklch(0.642 0.242 32.158);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.81 0.07 295.49);
  --chart-1: oklch(0.81 0.07 295.49);
  --chart-2: oklch(0.206 0.013 295.911);
  --chart-3: oklch(0.278 0.032 294.924);
  --chart-4: oklch(0.236 0.017 295.797);
  --chart-5: oklch(0.807 0.074 295.391);
}