Satisfied for shadcn/ui

Satisfied is a shadcn/ui theme built around a purple primary color (#d67fe6) with muted light purple accents (#dbcfde). The light mode uses a neutral background (#ffffff). Dark mode keeps the purple primary (#d67fe6) on a purple-tinted background (#09050a).

Color palette

TokenLightDark
Background
#ffffffwhite
#09050ablack
Foreground
#0f0312black
#ffffffwhite
Card
#ffffffwhite
#09050ablack
Card foreground
#0f0312black
#ffffffwhite
Popover
#ffffffwhite
#09050ablack
Popover foreground
#0f0312black
#ffffffwhite
Primary
#d67fe6orchid
#d67fe6orchid
Primary foreground
#25082bblack
#25082bblack
Secondary
#eae5eblavender
#191519black
Secondary foreground
#564659darkslategray
#b5a8b8darkgray
Muted
#f3ebf5whitesmoke
#130a14black
Muted foreground
#626062dimgray
#9f9d9fdarkgray
Accent
#dbcfdegainsboro
#2b1f2ddarkslategray
Accent foreground
#453248darkslategray
#c7b4cbsilver
Destructive
#b72006firebrick
#f8300dorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d67fe6orchid
#d67fe6orchid

Contrast

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

Light mode
Text on background20.15:1AAA
Text on card20.15:1AAA
Primary button7.01:1AAA
Secondary button7.00:1AAA
Muted text5.33:1AA
Accent7.75:1AAA
Destructive6.50:1AA
Dark mode
Text on background20.21:1AAA
Text on card20.21:1AAA
Primary button7.01:1AAA
Secondary button7.98:1AAA
Muted text7.20:1AAA
Accent8.06:1AAA
Destructive3.88:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.133 0.042 322.4);
  --muted: oklch(0.949 0.016 321.102);
  --muted-foreground: oklch(0.491 0.004 321.081);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.133 0.042 322.4);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.133 0.042 322.4);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.727 0.169 321.436);
  --primary-foreground: oklch(0.206 0.072 321.358);
  --secondary: oklch(0.928 0.009 321.086);
  --secondary-foreground: oklch(0.416 0.037 321.25);
  --accent: oklch(0.868 0.024 321.125);
  --accent-foreground: oklch(0.348 0.045 321.32);
  --destructive: oklch(0.503 0.188 31.735);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.727 0.169 321.436);
  --chart-1: oklch(0.727 0.169 321.436);
  --chart-2: oklch(0.928 0.009 321.086);
  --chart-3: oklch(0.868 0.024 321.125);
  --chart-4: oklch(0.952 0.006 321.079);
  --chart-5: oklch(0.727 0.176 321.44);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.126 0.016 322.154);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.163 0.025 321.354);
  --muted-foreground: oklch(0.698 0.003 321.076);
  --popover: oklch(0.126 0.016 322.154);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.126 0.016 322.154);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.727 0.169 321.436);
  --primary-foreground: oklch(0.206 0.072 321.358);
  --secondary: oklch(0.201 0.011 321.18);
  --secondary-foreground: oklch(0.748 0.027 321.143);
  --accent: oklch(0.261 0.03 321.298);
  --accent-foreground: oklch(0.793 0.038 321.169);
  --destructive: oklch(0.631 0.236 31.694);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.727 0.169 321.436);
  --chart-1: oklch(0.727 0.169 321.436);
  --chart-2: oklch(0.201 0.011 321.18);
  --chart-3: oklch(0.261 0.03 321.298);
  --chart-4: oklch(0.233 0.014 321.192);
  --chart-5: oklch(0.727 0.176 321.44);
}