Cruel Rose Souvenir for shadcn/ui

Cruel Rose Souvenir is a shadcn/ui theme built around a muted purple primary color (#c08cbe) with muted purple accents (#c8acc7). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted purple primary (#c08cbe) on a purple-tinted background (#0b040b).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b040bblack
Foreground
#000000black
#ffffffwhite
Card
#ffffffwhite
#0b040bblack
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#0b040bblack
Popover foreground
#000000black
#ffffffwhite
Primary
#c08cbedarkgray
#c08cbedarkgray
Primary foreground
#100910black
#100910black
Secondary
#d2c6d2thistle
#161316black
Secondary foreground
#392d39darkslategray
#b5a6b4darkgray
Muted
#e8dee7gainsboro
#211721black
Muted foreground
#6f526edimgray
#ad90acdarkgray
Accent
#c8acc7silver
#2c212cdarkslategray
Accent foreground
#281b27black
#c9b6c8silver
Destructive
#ad0101darkred
#fe0101red
Destructive foreground
#ffe1e1mistyrose
#ffffffwhite
Border
#e9e7e9lavender
#1d1b1dblack
Input
#e9e7e9lavender
#1d1b1dblack
Ring
#c08cbedarkgray
#c08cbedarkgray

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button7.22:1AAA
Secondary button7.91:1AAA
Muted text5.16:1AA
Accent7.99:1AAA
Destructive6.17:1AA
Dark mode
Text on background20.23:1AAA
Text on card20.23:1AAA
Primary button7.22:1AAA
Secondary button7.98:1AAA
Muted text6.08:1AA
Accent8.12:1AAA
Destructive4.03:1AA Large

CSS variables

Paste this into your globals.css to use Cruel Rose Souvenir in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.911 0.016 326.693);
  --muted-foreground: oklch(0.481 0.057 327.513);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.931 0.002 326.562);
  --input: oklch(0.931 0.002 326.562);
  --primary: oklch(0.706 0.092 327.603);
  --primary-foreground: oklch(0.154 0.019 327.562);
  --secondary: oklch(0.84 0.021 326.756);
  --secondary-foreground: oklch(0.315 0.027 327.248);
  --accent: oklch(0.778 0.048 327.062);
  --accent-foreground: oklch(0.242 0.031 327.579);
  --destructive: oklch(0.469 0.192 29.182);
  --destructive-foreground: oklch(0.933 0.034 17.768);
  --ring: oklch(0.706 0.092 327.603);
  --chart-1: oklch(0.706 0.092 327.603);
  --chart-2: oklch(0.84 0.021 326.756);
  --chart-3: oklch(0.778 0.048 327.062);
  --chart-4: oklch(0.864 0.018 326.717);
  --chart-5: oklch(0.705 0.101 327.705);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.126 0.022 327.71);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.222 0.023 327.387);
  --muted-foreground: oklch(0.687 0.052 327.178);
  --popover: oklch(0.126 0.022 327.71);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.126 0.022 327.71);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.226 0.004 326.694);
  --input: oklch(0.226 0.004 326.694);
  --primary: oklch(0.706 0.092 327.603);
  --primary-foreground: oklch(0.154 0.019 327.562);
  --secondary: oklch(0.191 0.009 326.947);
  --secondary-foreground: oklch(0.742 0.026 326.84);
  --accent: oklch(0.264 0.026 327.362);
  --accent-foreground: oklch(0.797 0.033 326.896);
  --destructive: oklch(0.626 0.256 29.202);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.706 0.092 327.603);
  --chart-1: oklch(0.706 0.092 327.603);
  --chart-2: oklch(0.191 0.009 326.947);
  --chart-3: oklch(0.264 0.026 327.362);
  --chart-4: oklch(0.224 0.012 326.997);
  --chart-5: oklch(0.705 0.101 327.705);
}