Bright Lilac Snipe for shadcn/ui

Bright Lilac Snipe is a shadcn/ui theme built around a vivid violet primary color (#cc8ff0) with vivid teal accents (#8ff0cc). The light mode uses a neutral background (#faf8fc). Dark mode keeps the vivid violet primary (#cc8ff0) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#faf8fcghostwhite
#000000black
Foreground
#000000black
#f8f6f9whitesmoke
Card
#faf8fcghostwhite
#000000black
Card foreground
#000000black
#f8f6f9whitesmoke
Popover
#faf8fcghostwhite
#000000black
Popover foreground
#000000black
#f8f6f9whitesmoke
Primary
#cc8ff0plum
#cc8ff0plum
Primary foreground
#2e0943midnightblue
#2e0943midnightblue
Secondary
#f0cc8fkhaki
#f0cc8fkhaki
Secondary foreground
#432e09darkolivegreen
#432e09darkolivegreen
Muted
#e7e2dagainsboro
#252018black
Muted foreground
#514a3edarkolivegreen
#c1baaesilver
Accent
#8ff0ccaquamarine
#8ff0ccaquamarine
Accent foreground
#09432edarkslategray
#09432edarkslategray
Destructive
#ce2e12firebrick
#ec4122orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e3e2e4gainsboro
#242324black
Input
#e3e2e4gainsboro
#242324black
Ring
#cc8ff0plum
#cc8ff0plum

Contrast

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

Light mode
Text on background19.91:1AAA
Text on card19.91:1AAA
Primary button7.07:1AAA
Secondary button8.41:1AAA
Muted text6.79:1AA
Accent8.34:1AAA
Destructive5.19:1AA
Dark mode
Text on background19.54:1AAA
Text on card19.54:1AAA
Primary button7.07:1AAA
Secondary button8.41:1AAA
Muted text8.36:1AAA
Accent8.34:1AAA
Destructive3.93:1AA Large

CSS variables

Paste this into your globals.css to use Bright Lilac Snipe in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.006 313.571);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.915 0.013 81.506);
  --muted-foreground: oklch(0.412 0.021 81.375);
  --popover: oklch(0.982 0.006 313.571);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.982 0.006 313.571);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.915 0.002 313.594);
  --input: oklch(0.915 0.002 313.594);
  --primary: oklch(0.745 0.149 312.3);
  --primary-foreground: oklch(0.242 0.103 309.369);
  --secondary: oklch(0.862 0.088 80.78);
  --secondary-foreground: oklch(0.319 0.059 76.726);
  --accent: oklch(0.884 0.105 168.386);
  --accent-foreground: oklch(0.342 0.069 162.949);
  --destructive: oklch(0.557 0.2 32.08);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.745 0.149 312.3);
  --chart-1: oklch(0.745 0.149 312.3);
  --chart-2: oklch(0.862 0.088 80.78);
  --chart-3: oklch(0.884 0.105 168.386);
  --chart-4: oklch(0.878 0.078 81);
  --chart-5: oklch(0.743 0.155 312.238);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.975 0.005 313.574);
  --muted: oklch(0.248 0.017 81.235);
  --muted-foreground: oklch(0.791 0.018 81.49);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.975 0.005 313.574);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.975 0.005 313.574);
  --border: oklch(0.258 0.003 313.535);
  --input: oklch(0.258 0.003 313.535);
  --primary: oklch(0.745 0.149 312.3);
  --primary-foreground: oklch(0.242 0.103 309.369);
  --secondary: oklch(0.862 0.088 80.78);
  --secondary-foreground: oklch(0.319 0.059 76.726);
  --accent: oklch(0.884 0.105 168.386);
  --accent-foreground: oklch(0.342 0.069 162.949);
  --destructive: oklch(0.625 0.212 32.324);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.745 0.149 312.3);
  --chart-1: oklch(0.745 0.149 312.3);
  --chart-2: oklch(0.862 0.088 80.78);
  --chart-3: oklch(0.884 0.105 168.386);
  --chart-4: oklch(0.878 0.078 81);
  --chart-5: oklch(0.743 0.155 312.238);
}