Thorough Berry Blackmail for shadcn/ui

Thorough Berry Blackmail is a shadcn/ui theme built around a purple primary color (#652574) with teal accents (#257465). The light mode uses a neutral background (#ffffff). Dark mode keeps the purple primary (#652574) on a purple-tinted background (#0d070e).

Color palette

TokenLightDark
Background
#ffffffwhite
#0d070eblack
Foreground
#120415black
#fdfcfdwhite
Card
#fcfcfcsnow
#100811black
Card foreground
#0f0311black
#ffffffwhite
Popover
#ffffffwhite
#0d070eblack
Popover foreground
#120415black
#fdfcfdwhite
Primary
#652574rebeccapurple
#652574rebeccapurple
Primary foreground
#eed8f3lavender
#eed8f3lavender
Secondary
#746525darkolivegreen
#746525darkolivegreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f4f3eblinen
#14120bblack
Muted foreground
#5c5c5cdimgray
#a3a3a3darkgray
Accent
#257465seagreen
#257465seagreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#b6470csienna
#f16b22chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#eeeceewhitesmoke
#252225darkslategray
Input
#eeeceewhitesmoke
#252225darkslategray
Ring
#652574rebeccapurple
#652574rebeccapurple

Contrast

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

Light mode
Text on background19.92:1AAA
Text on card19.73:1AAA
Primary button7.58:1AAA
Secondary button5.78:1AA
Muted text5.99:1AA
Accent5.60:1AA
Destructive5.37:1AA
Dark mode
Text on background19.52:1AAA
Text on card19.71:1AAA
Primary button7.58:1AAA
Secondary button5.78:1AA
Muted text7.41:1AAA
Accent5.60:1AA
Destructive6.85:1AA

CSS variables

Paste this into your globals.css to use Thorough Berry Blackmail in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.146 0.044 320.615);
  --muted: oklch(0.962 0.01 96.296);
  --muted-foreground: oklch(0.474 0 198.435);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.146 0.044 320.615);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.133 0.039 321.066);
  --border: oklch(0.945 0.003 319.994);
  --input: oklch(0.945 0.003 319.994);
  --primary: oklch(0.395 0.139 319.811);
  --primary-foreground: oklch(0.909 0.042 320.032);
  --secondary: oklch(0.508 0.085 96.561);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.506 0.079 178.415);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.542 0.157 42.518);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.395 0.139 319.811);
  --chart-1: oklch(0.395 0.139 319.811);
  --chart-2: oklch(0.508 0.085 96.561);
  --chart-3: oklch(0.506 0.079 178.415);
  --chart-4: oklch(0.543 0.091 96.53);
  --chart-5: oklch(0.396 0.145 319.74);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.02 320.482);
  --foreground: oklch(0.992 0.002 319.993);
  --muted: oklch(0.182 0.015 96.95);
  --muted-foreground: oklch(0.716 0 165.964);
  --popover: oklch(0.139 0.02 320.482);
  --popover-foreground: oklch(0.992 0.002 319.993);
  --card: oklch(0.151 0.023 320.179);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.256 0.008 320.019);
  --input: oklch(0.256 0.008 320.019);
  --primary: oklch(0.395 0.139 319.811);
  --primary-foreground: oklch(0.909 0.042 320.032);
  --secondary: oklch(0.508 0.085 96.561);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.506 0.079 178.415);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.682 0.183 44.251);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.395 0.139 319.811);
  --chart-1: oklch(0.395 0.139 319.811);
  --chart-2: oklch(0.508 0.085 96.561);
  --chart-3: oklch(0.506 0.079 178.415);
  --chart-4: oklch(0.543 0.091 96.53);
  --chart-5: oklch(0.396 0.145 319.74);
}