Quiet for shadcn/ui

Quiet is a shadcn/ui theme built around a vivid light purple primary color (#f3cdfe) with vivid light teal accents (#cdfef3). The light mode uses a neutral background (#fcf6fd). Dark mode keeps the vivid light purple primary (#f3cdfe) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcf6fdghostwhite
#000000black
Foreground
#0e0312black
#fdfcfdwhite
Card
#faf2fcghostwhite
#030303black
Card foreground
#0b020dblack
#ffffffwhite
Popover
#faf2fcghostwhite
#030303black
Popover foreground
#0b020dblack
#ffffffwhite
Primary
#f3cdfelavender
#f3cdfelavender
Primary foreground
#760396darkmagenta
#760396darkmagenta
Secondary
#fef3cdlemonchiffon
#fef3cdlemonchiffon
Secondary foreground
#322701black
#322701black
Muted
#f6f4eewhitesmoke
#110f09black
Muted foreground
#484437darkslategray
#c8c4b7silver
Accent
#cdfef3lightcyan
#cdfef3lightcyan
Accent foreground
#013227black
#013227black
Destructive
#a12202firebrick
#ec3204orangered
Destructive foreground
#fedfd7mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f3cdfelavender
#f3cdfelavender

Contrast

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

Light mode
Text on background19.02:1AAA
Text on card18.67:1AAA
Primary button6.74:1AA
Secondary button13.29:1AAA
Muted text8.87:1AAA
Accent12.82:1AAA
Destructive6.11:1AA
Dark mode
Text on background20.51:1AAA
Text on card20.67:1AAA
Primary button6.74:1AA
Secondary button13.29:1AAA
Muted text10.99:1AAA
Accent12.82:1AAA
Destructive4.17:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.011 318.887);
  --foreground: oklch(0.131 0.042 319.913);
  --muted: oklch(0.968 0.008 93.955);
  --muted-foreground: oklch(0.388 0.022 94.358);
  --popover: oklch(0.971 0.016 318.885);
  --popover-foreground: oklch(0.118 0.036 320.804);
  --card: oklch(0.971 0.016 318.885);
  --card-foreground: oklch(0.118 0.036 320.804);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.896 0.077 318.856);
  --primary-foreground: oklch(0.422 0.205 315.987);
  --secondary: oklch(0.964 0.051 94.339);
  --secondary-foreground: oklch(0.278 0.056 92.909);
  --accent: oklch(0.96 0.052 180.482);
  --accent-foreground: oklch(0.283 0.053 173.606);
  --destructive: oklch(0.462 0.166 33.515);
  --destructive-foreground: oklch(0.927 0.037 34.314);
  --ring: oklch(0.896 0.077 318.856);
  --chart-1: oklch(0.896 0.077 318.856);
  --chart-2: oklch(0.964 0.051 94.339);
  --chart-3: oklch(0.96 0.052 180.482);
  --chart-4: oklch(0.975 0.036 94.221);
  --chart-5: oklch(0.895 0.08 318.855);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 318.89);
  --muted: oklch(0.168 0.012 94.52);
  --muted-foreground: oklch(0.819 0.018 94.093);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.896 0.077 318.856);
  --primary-foreground: oklch(0.422 0.205 315.987);
  --secondary: oklch(0.964 0.051 94.339);
  --secondary-foreground: oklch(0.278 0.056 92.909);
  --accent: oklch(0.96 0.052 180.482);
  --accent-foreground: oklch(0.283 0.053 173.606);
  --destructive: oklch(0.612 0.225 32.905);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.896 0.077 318.856);
  --chart-1: oklch(0.896 0.077 318.856);
  --chart-2: oklch(0.964 0.051 94.339);
  --chart-3: oklch(0.96 0.052 180.482);
  --chart-4: oklch(0.975 0.036 94.221);
  --chart-5: oklch(0.895 0.08 318.855);
}