Blurple Reptile for shadcn/ui

Blurple Reptile is a shadcn/ui theme built around an indigo primary color (#593ed0) with green accents (#3ed059). The light mode uses a neutral background (#ffffff). Dark mode keeps the indigo primary (#593ed0) on a neutral background (#020203).

Color palette

TokenLightDark
Background
#ffffffwhite
#020203black
Foreground
#030109black
#fcfcfdwhite
Card
#ffffffwhite
#020203black
Card foreground
#030109black
#fcfcfdwhite
Popover
#ffffffwhite
#020203black
Popover foreground
#030109black
#fcfcfdwhite
Primary
#593ed0slateblue
#593ed0slateblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d0593eindianred
#d0593eindianred
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e4deddgainsboro
#221c1bblack
Muted foreground
#535150darkslategray
#afacacdarkgray
Accent
#3ed059mediumseagreen
#3ed059mediumseagreen
Accent foreground
#0d3514darkgreen
#0d3514darkgreen
Destructive
#860f09darkred
#d8180efirebrick
Destructive foreground
#fbc8c5pink
#ffffffwhite
Border
#eeeef2whitesmoke
#211f28black
Input
#eeeef2whitesmoke
#211f28black
Ring
#593ed0slateblue
#593ed0slateblue

Contrast

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

Light mode
Text on background20.74:1AAA
Text on card20.74:1AAA
Primary button6.93:1AA
Secondary button4.05:1AA Large
Muted text5.94:1AA
Accent6.76:1AA
Destructive6.78:1AA
Dark mode
Text on background20.24:1AAA
Text on card20.24:1AAA
Primary button6.93:1AA
Secondary button4.05:1AA Large
Muted text7.42:1AAA
Accent6.76:1AA
Destructive5.18:1AA

CSS variables

Paste this into your globals.css to use Blurple Reptile in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.088 0.031 292.618);
  --muted: oklch(0.905 0.006 32.661);
  --muted-foreground: oklch(0.436 0.004 32.662);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.088 0.031 292.618);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.088 0.031 292.618);
  --border: oklch(0.95 0.005 294.719);
  --input: oklch(0.95 0.005 294.719);
  --primary: oklch(0.488 0.212 283.658);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.611 0.157 34.122);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.757 0.203 146.175);
  --accent-foreground: oklch(0.293 0.073 146.729);
  --destructive: oklch(0.397 0.153 29.3);
  --destructive-foreground: oklch(0.877 0.059 21.838);
  --ring: oklch(0.488 0.212 283.658);
  --chart-1: oklch(0.488 0.212 283.658);
  --chart-2: oklch(0.611 0.157 34.122);
  --chart-3: oklch(0.757 0.203 146.175);
  --chart-4: oklch(0.632 0.147 34.01);
  --chart-5: oklch(0.484 0.22 282.823);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.084 0.009 294.203);
  --foreground: oklch(0.991 0.001 294.799);
  --muted: oklch(0.234 0.009 32.717);
  --muted-foreground: oklch(0.748 0.003 32.661);
  --popover: oklch(0.084 0.009 294.203);
  --popover-foreground: oklch(0.991 0.001 294.799);
  --card: oklch(0.084 0.009 294.203);
  --card-foreground: oklch(0.991 0.001 294.799);
  --border: oklch(0.246 0.018 293.466);
  --input: oklch(0.246 0.018 293.466);
  --primary: oklch(0.488 0.212 283.658);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.611 0.157 34.122);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.757 0.203 146.175);
  --accent-foreground: oklch(0.293 0.073 146.729);
  --destructive: oklch(0.561 0.22 29.44);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.488 0.212 283.658);
  --chart-1: oklch(0.488 0.212 283.658);
  --chart-2: oklch(0.611 0.157 34.122);
  --chart-3: oklch(0.757 0.203 146.175);
  --chart-4: oklch(0.632 0.147 34.01);
  --chart-5: oklch(0.484 0.22 282.823);
}