People for shadcn/ui

People is a shadcn/ui theme built around a light violet primary color (#e3c6f6) with muted light violet accents (#d4c5dd). The light mode uses a neutral background (#ffffff). Dark mode keeps the light violet primary (#e3c6f6) on a neutral background (#050407).

Color palette

TokenLightDark
Background
#ffffffwhite
#050407black
Foreground
#0f0416black
#f8f5fawhitesmoke
Card
#ffffffwhite
#050407black
Card foreground
#0f0416black
#f8f5fawhitesmoke
Popover
#ffffffwhite
#050407black
Popover foreground
#0f0416black
#f8f5fawhitesmoke
Primary
#e3c6f6lavender
#e3c6f6lavender
Primary foreground
#4f1377indigo
#4f1377indigo
Secondary
#e2dbe6gainsboro
#343036darkslategray
Secondary foreground
#4a3b54darkslategray
#cdc9cflightgrey
Muted
#f0eef1whitesmoke
#100e11black
Muted foreground
#46404adarkslategray
#bbb5bfsilver
Accent
#d4c5ddthistle
#493f50darkslategray
Accent foreground
#3b2947darkslategray
#e1dde4gainsboro
Destructive
#9d3f10saddlebrown
#d95717chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e3c6f6lavender
#e3c6f6lavender

Contrast

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

Light mode
Text on background20.01:1AAA
Text on card20.01:1AAA
Primary button8.05:1AAA
Secondary button7.57:1AAA
Muted text8.71:1AAA
Accent8.02:1AAA
Destructive6.65:1AA
Dark mode
Text on background18.95:1AAA
Text on card18.95:1AAA
Primary button8.05:1AAA
Secondary button7.90:1AAA
Muted text9.59:1AAA
Accent7.43:1AAA
Destructive3.93:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.139 0.044 311.333);
  --muted: oklch(0.952 0.004 312.326);
  --muted-foreground: oklch(0.381 0.018 312.012);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.139 0.044 311.333);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.139 0.044 311.333);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.865 0.073 311.735);
  --primary-foreground: oklch(0.346 0.157 306.695);
  --secondary: oklch(0.9 0.016 312.222);
  --secondary-foreground: oklch(0.378 0.047 311.421);
  --accent: oklch(0.842 0.038 312.028);
  --accent-foreground: oklch(0.316 0.057 310.953);
  --destructive: oklch(0.49 0.136 42.648);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.865 0.073 311.735);
  --chart-1: oklch(0.865 0.073 311.735);
  --chart-2: oklch(0.9 0.016 312.222);
  --chart-3: oklch(0.842 0.038 312.028);
  --chart-4: oklch(0.925 0.012 312.259);
  --chart-5: oklch(0.864 0.076 311.708);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.012 313.278);
  --foreground: oklch(0.973 0.007 312.303);
  --muted: oklch(0.167 0.006 312.079);
  --muted-foreground: oklch(0.782 0.015 312.216);
  --popover: oklch(0.109 0.012 313.278);
  --popover-foreground: oklch(0.973 0.007 312.303);
  --card: oklch(0.109 0.012 313.278);
  --card-foreground: oklch(0.973 0.007 312.303);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.865 0.073 311.735);
  --primary-foreground: oklch(0.346 0.157 306.695);
  --secondary: oklch(0.316 0.01 312.126);
  --secondary-foreground: oklch(0.841 0.008 312.289);
  --accent: oklch(0.384 0.032 311.75);
  --accent-foreground: oklch(0.902 0.011 312.268);
  --destructive: oklch(0.619 0.177 42.14);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.865 0.073 311.735);
  --chart-1: oklch(0.865 0.073 311.735);
  --chart-2: oklch(0.316 0.01 312.126);
  --chart-3: oklch(0.384 0.032 311.75);
  --chart-4: oklch(0.345 0.011 312.119);
  --chart-5: oklch(0.864 0.076 311.708);
}