Crowded for shadcn/ui

Crowded is a shadcn/ui theme built around a vivid light purple primary color (#fee7f9) with muted purple accents (#c7b8c4). The light mode uses a neutral background (#fdf7fc). Dark mode keeps the vivid light purple primary (#fee7f9) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdf7fcsnow
#000000black
Foreground
#0d030ablack
#fdfbfdsnow
Card
#fdf7fcsnow
#000000black
Card foreground
#0d030ablack
#fdfbfdsnow
Popover
#fdf7fcsnow
#000000black
Popover foreground
#0d030ablack
#fdfbfdsnow
Primary
#fee7f9lavenderblush
#fee7f9lavenderblush
Primary foreground
#48043aindigo
#48043aindigo
Secondary
#cecacdlightgrey
#332831darkslategray
Secondary foreground
#353134darkslategray
#cec0cbthistle
Muted
#e4d8e1gainsboro
#271b25black
Muted foreground
#4a4a4adarkslategray
#b5b5b5silver
Accent
#c7b8c4silver
#53374ddarkslategray
Accent foreground
#2b2229darkslategray
#e4d7e2gainsboro
Destructive
#bc2110firebrick
#ee503ftomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fee7f9lavenderblush
#fee7f9lavenderblush

Contrast

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

Light mode
Text on background19.17:1AAA
Text on card19.17:1AAA
Primary button13.28:1AAA
Secondary button7.89:1AAA
Muted text6.40:1AA
Accent8.09:1AAA
Destructive6.24:1AA
Dark mode
Text on background20.39:1AAA
Text on card20.39:1AAA
Primary button13.28:1AAA
Secondary button8.03:1AAA
Muted text8.06:1AAA
Accent7.48:1AAA
Destructive3.57:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.01 332.771);
  --foreground: oklch(0.122 0.031 334.11);
  --muted: oklch(0.894 0.019 332.944);
  --muted-foreground: oklch(0.409 0 190.305);
  --popover: oklch(0.981 0.01 332.771);
  --popover-foreground: oklch(0.122 0.031 334.11);
  --card: oklch(0.981 0.01 332.771);
  --card-foreground: oklch(0.122 0.031 334.11);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.951 0.034 333.158);
  --primary-foreground: oklch(0.276 0.114 339.324);
  --secondary: oklch(0.843 0.006 332.732);
  --secondary-foreground: oklch(0.318 0.008 333.001);
  --accent: oklch(0.798 0.024 333.073);
  --accent-foreground: oklch(0.264 0.019 333.682);
  --destructive: oklch(0.513 0.191 30.52);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.951 0.034 333.158);
  --chart-1: oklch(0.951 0.034 333.158);
  --chart-2: oklch(0.843 0.006 332.732);
  --chart-3: oklch(0.798 0.024 333.073);
  --chart-4: oklch(0.867 0.005 332.711);
  --chart-5: oklch(0.951 0.035 333.176);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.991 0.003 332.661);
  --muted: oklch(0.241 0.026 334.221);
  --muted-foreground: oklch(0.773 0 180);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.991 0.003 332.661);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.991 0.003 332.661);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.951 0.034 333.158);
  --primary-foreground: oklch(0.276 0.114 339.324);
  --secondary: oklch(0.294 0.022 333.731);
  --secondary-foreground: oklch(0.823 0.021 333.004);
  --accent: oklch(0.377 0.051 334.598);
  --accent-foreground: oklch(0.893 0.02 332.961);
  --destructive: oklch(0.647 0.197 29.722);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.951 0.034 333.158);
  --chart-1: oklch(0.951 0.034 333.158);
  --chart-2: oklch(0.294 0.022 333.731);
  --chart-3: oklch(0.377 0.051 334.598);
  --chart-4: oklch(0.324 0.025 333.769);
  --chart-5: oklch(0.951 0.035 333.176);
}