Claire Deborah for shadcn/ui

Claire Deborah is a shadcn/ui theme built around a vivid deep violet primary color (#3c0d63) with vivid deep teal accents (#0d633c). The light mode uses a neutral background (#faf6fd). Dark mode keeps the vivid deep violet primary (#3c0d63) on a neutral background (#050308).

Color palette

TokenLightDark
Background
#faf6fdghostwhite
#050308black
Foreground
#000000black
#faf9fbghostwhite
Card
#f8f2fcghostwhite
#08040bblack
Card foreground
#000000black
#fcfcfdwhite
Popover
#f8f2fcghostwhite
#08040bblack
Popover foreground
#000000black
#fcfcfdwhite
Primary
#3c0d63indigo
#3c0d63indigo
Primary foreground
#d5aef4plum
#d5aef4plum
Secondary
#633c0dsaddlebrown
#633c0dsaddlebrown
Secondary foreground
#f4d5aewheat
#f4d5aewheat
Muted
#ede9e3linen
#1c1712black
Muted foreground
#6c645adimgray
#a59c93darkgray
Accent
#0d633cdarkslategray
#0d633cdarkslategray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#dd0f08red
#f7241dcrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e8e5eblavender
#1f1b22black
Input
#e8e5eblavender
#1f1b22black
Ring
#3c0d63indigo
#3c0d63indigo

Contrast

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

Light mode
Text on background19.73:1AAA
Text on card19.12:1AAA
Primary button7.80:1AAA
Secondary button6.82:1AA
Muted text4.79:1AA
Accent7.29:1AAA
Destructive5.04:1AA
Dark mode
Text on background19.58:1AAA
Text on card19.83:1AAA
Primary button7.80:1AAA
Secondary button6.82:1AA
Muted text6.56:1AA
Accent7.29:1AAA
Destructive4.02:1AA Large

CSS variables

Paste this into your globals.css to use Claire Deborah in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.979 0.01 310.344);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.935 0.009 73.148);
  --muted-foreground: oklch(0.509 0.018 72.908);
  --popover: oklch(0.969 0.015 310.296);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.969 0.015 310.296);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.927 0.008 310.357);
  --input: oklch(0.927 0.008 310.357);
  --primary: oklch(0.297 0.138 303.381);
  --primary-foreground: oklch(0.809 0.106 309.209);
  --secondary: oklch(0.396 0.08 65.814);
  --secondary-foreground: oklch(0.889 0.062 72.467);
  --accent: oklch(0.443 0.1 157.226);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.568 0.228 29.296);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.297 0.138 303.381);
  --chart-1: oklch(0.297 0.138 303.381);
  --chart-2: oklch(0.396 0.08 65.814);
  --chart-3: oklch(0.443 0.1 157.226);
  --chart-4: oklch(0.432 0.089 65.46);
  --chart-5: oklch(0.297 0.141 302.955);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.105 0.019 311.888);
  --foreground: oklch(0.984 0.002 310.418);
  --muted: oklch(0.21 0.013 72.604);
  --muted-foreground: oklch(0.698 0.017 73.023);
  --popover: oklch(0.12 0.022 311.749);
  --popover-foreground: oklch(0.992 0.001 310.428);
  --card: oklch(0.12 0.022 311.749);
  --card-foreground: oklch(0.992 0.001 310.428);
  --border: oklch(0.23 0.015 309.825);
  --input: oklch(0.23 0.015 309.825);
  --primary: oklch(0.297 0.138 303.381);
  --primary-foreground: oklch(0.809 0.106 309.209);
  --secondary: oklch(0.396 0.08 65.814);
  --secondary-foreground: oklch(0.889 0.062 72.467);
  --accent: oklch(0.443 0.1 157.226);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.624 0.24 28.855);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.297 0.138 303.381);
  --chart-1: oklch(0.297 0.138 303.381);
  --chart-2: oklch(0.396 0.08 65.814);
  --chart-3: oklch(0.443 0.1 157.226);
  --chart-4: oklch(0.432 0.089 65.46);
  --chart-5: oklch(0.297 0.141 302.955);
}