Visible Wondrous Wisteria for shadcn/ui

Visible Wondrous Wisteria is a shadcn/ui theme built around a light blue primary color (#98abec) with muted light blue accents (#d8dae4). The light mode uses a neutral background (#ffffff). Dark mode keeps the light blue primary (#98abec) on a neutral background (#030407).

Color palette

TokenLightDark
Background
#ffffffwhite
#030407black
Foreground
#020408black
#fcfcfdwhite
Card
#ffffffwhite
#030407black
Card foreground
#020408black
#fcfcfdwhite
Popover
#ffffffwhite
#030407black
Popover foreground
#020408black
#fcfcfdwhite
Primary
#98abeclightsteelblue
#98abeclightsteelblue
Primary foreground
#0d1a45midnightblue
#0d1a45midnightblue
Secondary
#d8dae4gainsboro
#27282bdarkslategray
Secondary foreground
#383e52darkslategray
#bfc0c5silver
Muted
#e6e8f0lavender
#0f121ablack
Muted foreground
#454545darkslategray
#bababasilver
Accent
#d8dae4gainsboro
#27282bdarkslategray
Accent foreground
#383e52darkslategray
#bfc0c5silver
Destructive
#9c190dfirebrick
#ed3726orangered
Destructive foreground
#fce1demistyrose
#ffffffwhite
Border
#e2e4e9gainsboro
#1d1f26black
Input
#e2e4e9gainsboro
#1d1f26black
Ring
#98abeclightsteelblue
#98abeclightsteelblue

Contrast

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

Light mode
Text on background20.51:1AAA
Text on card20.51:1AAA
Primary button7.50:1AAA
Secondary button7.63:1AAA
Muted text7.82:1AAA
Accent7.63:1AAA
Destructive6.65:1AA
Dark mode
Text on background19.96:1AAA
Text on card19.96:1AAA
Primary button7.50:1AAA
Secondary button8.14:1AAA
Muted text9.66:1AAA
Accent8.14:1AAA
Destructive4.05:1AA Large

CSS variables

Paste this into your globals.css to use Visible Wondrous Wisteria in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.105 0.014 266.197);
  --muted: oklch(0.931 0.011 272.534);
  --muted-foreground: oklch(0.39 0 165.964);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.105 0.014 266.197);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.105 0.014 266.197);
  --border: oklch(0.918 0.008 272.571);
  --input: oklch(0.918 0.008 272.571);
  --primary: oklch(0.751 0.096 270.934);
  --primary-foreground: oklch(0.236 0.083 266.951);
  --secondary: oklch(0.89 0.014 272.495);
  --secondary-foreground: oklch(0.366 0.036 271.411);
  --accent: oklch(0.89 0.014 272.495);
  --accent-foreground: oklch(0.366 0.036 271.411);
  --destructive: oklch(0.446 0.167 30.059);
  --destructive-foreground: oklch(0.93 0.031 23.935);
  --ring: oklch(0.751 0.096 270.934);
  --chart-1: oklch(0.751 0.096 270.934);
  --chart-2: oklch(0.89 0.014 272.495);
  --chart-3: oklch(0.89 0.014 272.495);
  --chart-4: oklch(0.916 0.01 272.538);
  --chart-5: oklch(0.749 0.101 270.836);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.009 268.976);
  --foreground: oklch(0.991 0.002 272.636);
  --muted: oklch(0.182 0.017 271.507);
  --muted-foreground: oklch(0.789 0 171.254);
  --popover: oklch(0.109 0.009 268.976);
  --popover-foreground: oklch(0.991 0.002 272.636);
  --card: oklch(0.109 0.009 268.976);
  --card-foreground: oklch(0.991 0.002 272.636);
  --border: oklch(0.239 0.014 271.96);
  --input: oklch(0.239 0.014 271.96);
  --primary: oklch(0.751 0.096 270.934);
  --primary-foreground: oklch(0.236 0.083 266.951);
  --secondary: oklch(0.276 0.006 272.426);
  --secondary-foreground: oklch(0.809 0.007 272.57);
  --accent: oklch(0.276 0.006 272.426);
  --accent-foreground: oklch(0.809 0.007 272.57);
  --destructive: oklch(0.62 0.22 29.838);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.751 0.096 270.934);
  --chart-1: oklch(0.751 0.096 270.934);
  --chart-2: oklch(0.276 0.006 272.426);
  --chart-3: oklch(0.276 0.006 272.426);
  --chart-4: oklch(0.306 0.007 272.415);
  --chart-5: oklch(0.749 0.101 270.836);
}