Explosive Purple Lizard for shadcn/ui

Explosive Purple Lizard is a shadcn/ui theme built around a purple primary color (#c926bc) with green accents (#26c934). The light mode uses a neutral background (#ffffff). Dark mode keeps the purple primary (#c926bc) on a purple-tinted background (#0e060e).

Color palette

TokenLightDark
Background
#ffffffwhite
#0e060eblack
Foreground
#040104black
#fdfbfdsnow
Card
#fcfcfcsnow
#120811black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#120811black
Popover foreground
#000000black
#ffffffwhite
Primary
#c926bcdarkorchid
#c926bcdarkorchid
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#26c934limegreen
#26c934limegreen
Secondary foreground
#061e08black
#061e08black
Muted
#dae7dbgainsboro
#182519black
Muted foreground
#384c3adarkslategray
#b3c7b4silver
Accent
#26c934limegreen
#26c934limegreen
Accent foreground
#061e08black
#061e08black
Destructive
#932006darkred
#dc3009orangered
Destructive foreground
#fdd7cebisque
#ffffffwhite
Border
#eae6ealavender
#1f191eblack
Input
#eae6ealavender
#1f191eblack
Ring
#c926bcdarkorchid
#c926bcdarkorchid

Contrast

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

Light mode
Text on background20.76:1AAA
Text on card20.54:1AAA
Primary button4.66:1AA
Secondary button7.95:1AAA
Muted text7.25:1AAA
Accent7.95:1AAA
Destructive6.45:1AA
Dark mode
Text on background19.38:1AAA
Text on card19.68:1AAA
Primary button4.66:1AA
Secondary button7.95:1AAA
Muted text8.90:1AAA
Accent7.95:1AAA
Destructive4.68:1AA

CSS variables

Paste this into your globals.css to use Explosive Purple Lizard in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.086 0.02 329.427);
  --muted: oklch(0.914 0.021 147.821);
  --muted-foreground: oklch(0.395 0.039 146.951);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.929 0.007 328.148);
  --input: oklch(0.929 0.007 328.148);
  --primary: oklch(0.592 0.244 332.104);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.73 0.226 143.646);
  --secondary-foreground: oklch(0.209 0.052 145.191);
  --accent: oklch(0.73 0.226 143.646);
  --accent-foreground: oklch(0.209 0.052 145.191);
  --destructive: oklch(0.434 0.154 33.19);
  --destructive-foreground: oklch(0.908 0.045 32.756);
  --ring: oklch(0.592 0.244 332.104);
  --chart-1: oklch(0.592 0.244 332.104);
  --chart-2: oklch(0.73 0.226 143.646);
  --chart-3: oklch(0.73 0.226 143.646);
  --chart-4: oklch(0.765 0.238 143.63);
  --chart-5: oklch(0.597 0.25 332.21);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.023 329.425);
  --foreground: oklch(0.991 0.003 328.098);
  --muted: oklch(0.248 0.028 146.773);
  --muted-foreground: oklch(0.808 0.033 147.622);
  --popover: oklch(0.153 0.026 329.661);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.153 0.026 329.661);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.223 0.013 328.655);
  --input: oklch(0.223 0.013 328.655);
  --primary: oklch(0.592 0.244 332.104);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.73 0.226 143.646);
  --secondary-foreground: oklch(0.209 0.052 145.191);
  --accent: oklch(0.73 0.226 143.646);
  --accent-foreground: oklch(0.209 0.052 145.191);
  --destructive: oklch(0.583 0.212 32.743);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.592 0.244 332.104);
  --chart-1: oklch(0.592 0.244 332.104);
  --chart-2: oklch(0.73 0.226 143.646);
  --chart-3: oklch(0.73 0.226 143.646);
  --chart-4: oklch(0.765 0.238 143.63);
  --chart-5: oklch(0.597 0.25 332.21);
}