Willing Jam Session for shadcn/ui

Willing Jam Session is a shadcn/ui theme built around a muted light violet primary color (#d1cdd5) with muted light purple accents (#d5cdd5). The light mode uses a neutral background (#faf7fd). Dark mode keeps the muted light violet primary (#d1cdd5) on a violet-tinted background (#08050b).

Color palette

TokenLightDark
Background
#faf7fdghostwhite
#08050bblack
Foreground
#0a0411black
#faf9fbghostwhite
Card
#f7f3fbghostwhite
#0a060eblack
Card foreground
#08030dblack
#fcfcfdwhite
Popover
#faf7fdghostwhite
#08050bblack
Popover foreground
#0a0411black
#faf9fbghostwhite
Primary
#d1cdd5lightgrey
#d1cdd5lightgrey
Primary foreground
#38333ddarkslategray
#38333ddarkslategray
Secondary
#cdcdd5lightgrey
#cdcdd5lightgrey
Secondary foreground
#33333ddarkslategray
#33333ddarkslategray
Muted
#e8e8f2lavender
#0d0d17black
Muted foreground
#404040darkslategray
#bfbfbfsilver
Accent
#d5cdd5lightgrey
#d5cdd5lightgrey
Accent foreground
#3d333ddarkslategray
#3d333ddarkslategray
Destructive
#bc4910chocolate
#d35312chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#edebeflavender
#26212bdarkslategray
Input
#edebeflavender
#26212bdarkslategray
Ring
#d1cdd5lightgrey
#d1cdd5lightgrey

Contrast

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

Light mode
Text on background19.07:1AAA
Text on card18.68:1AAA
Primary button7.84:1AAA
Secondary button7.90:1AAA
Muted text8.54:1AAA
Accent7.77:1AAA
Destructive5.11:1AA
Dark mode
Text on background19.33:1AAA
Text on card19.57:1AAA
Primary button7.84:1AAA
Secondary button7.90:1AAA
Muted text10.50:1AAA
Accent7.77:1AAA
Destructive4.19:1AA Large

CSS variables

Paste this into your globals.css to use Willing Jam Session in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.008 309.043);
  --foreground: oklch(0.127 0.034 308.973);
  --muted: oklch(0.935 0.013 286.914);
  --muted-foreground: oklch(0.371 0 168.69);
  --popover: oklch(0.98 0.008 309.043);
  --popover-foreground: oklch(0.127 0.034 308.973);
  --card: oklch(0.971 0.012 309);
  --card-foreground: oklch(0.115 0.03 310.658);
  --border: oklch(0.943 0.007 309.051);
  --input: oklch(0.943 0.007 309.051);
  --primary: oklch(0.854 0.012 308.976);
  --primary-foreground: oklch(0.331 0.019 308.528);
  --secondary: oklch(0.851 0.011 286.924);
  --secondary-foreground: oklch(0.326 0.018 286.134);
  --accent: oklch(0.857 0.014 326.187);
  --accent-foreground: oklch(0.336 0.022 326.568);
  --destructive: oklch(0.554 0.16 41.891);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.854 0.012 308.976);
  --chart-1: oklch(0.854 0.012 308.976);
  --chart-2: oklch(0.851 0.011 286.924);
  --chart-3: oklch(0.857 0.014 326.187);
  --chart-4: oklch(0.876 0.009 286.972);
  --chart-5: oklch(0.852 0.016 308.925);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.018 310.189);
  --foreground: oklch(0.984 0.002 309.107);
  --muted: oklch(0.165 0.02 284.724);
  --muted-foreground: oklch(0.805 0 169.695);
  --popover: oklch(0.122 0.018 310.189);
  --popover-foreground: oklch(0.984 0.002 309.107);
  --card: oklch(0.134 0.02 308.908);
  --card-foreground: oklch(0.992 0.001 309.117);
  --border: oklch(0.259 0.02 308.326);
  --input: oklch(0.259 0.02 308.326);
  --primary: oklch(0.854 0.012 308.976);
  --primary-foreground: oklch(0.331 0.019 308.528);
  --secondary: oklch(0.851 0.011 286.924);
  --secondary-foreground: oklch(0.326 0.018 286.134);
  --accent: oklch(0.857 0.014 326.187);
  --accent-foreground: oklch(0.336 0.022 326.568);
  --destructive: oklch(0.603 0.176 41.701);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.854 0.012 308.976);
  --chart-1: oklch(0.854 0.012 308.976);
  --chart-2: oklch(0.851 0.011 286.924);
  --chart-3: oklch(0.857 0.014 326.187);
  --chart-4: oklch(0.876 0.009 286.972);
  --chart-5: oklch(0.852 0.016 308.925);
}