Principal Wisteria Powder for shadcn/ui

Principal Wisteria Powder is a shadcn/ui theme built around a vivid light violet primary color (#e4c3f9) with vivid light teal accents (#c3f9e4). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light violet primary (#e4c3f9) on a neutral background (#060208).

Color palette

TokenLightDark
Background
#ffffffwhite
#060208black
Foreground
#0e0614black
#ffffffwhite
Card
#ffffffwhite
#060208black
Card foreground
#0e0614black
#ffffffwhite
Popover
#ffffffwhite
#060208black
Popover foreground
#0e0614black
#ffffffwhite
Primary
#e4c3f9lavender
#e4c3f9lavender
Primary foreground
#520c7dindigo
#520c7dindigo
Secondary
#f9e4c3bisque
#f9e4c3bisque
Secondary foreground
#201503black
#201503black
Muted
#dedad3gainsboro
#2c2721darkslategray
Muted foreground
#6f6658dimgray
#a79e90rosybrown
Accent
#c3f9e4paleturquoise
#c3f9e4paleturquoise
Accent foreground
#032015black
#032015black
Destructive
#933306saddlebrown
#f66c2ctomato
Destructive foreground
#fdddcebisque
#000000black
Border
#edeceewhitesmoke
#242225black
Input
#edeceewhitesmoke
#242225black
Ring
#e4c3f9lavender
#e4c3f9lavender

Contrast

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

Light mode
Text on background19.90:1AAA
Text on card19.90:1AAA
Primary button7.87:1AAA
Secondary button14.47:1AAA
Muted text4.05:1AA Large
Accent14.72:1AAA
Destructive6.05:1AA
Dark mode
Text on background20.55:1AAA
Text on card20.55:1AAA
Primary button7.87:1AAA
Secondary button14.47:1AAA
Muted text5.57:1AA
Accent14.72:1AAA
Destructive7.12:1AAA

CSS variables

Paste this into your globals.css to use Principal Wisteria Powder in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.144 0.032 312.082);
  --muted: oklch(0.89 0.01 79.912);
  --muted-foreground: oklch(0.515 0.025 79.736);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.144 0.032 312.082);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.144 0.032 312.082);
  --border: oklch(0.945 0.002 312.97);
  --input: oklch(0.945 0.002 312.97);
  --primary: oklch(0.862 0.082 312.339);
  --primary-foreground: oklch(0.351 0.169 306.656);
  --secondary: oklch(0.928 0.05 79.703);
  --secondary-foreground: oklch(0.207 0.037 78.701);
  --accent: oklch(0.939 0.062 169.526);
  --accent-foreground: oklch(0.22 0.042 164.339);
  --destructive: oklch(0.455 0.138 40.088);
  --destructive-foreground: oklch(0.92 0.041 46.407);
  --ring: oklch(0.862 0.082 312.339);
  --chart-1: oklch(0.862 0.082 312.339);
  --chart-2: oklch(0.928 0.05 79.703);
  --chart-3: oklch(0.939 0.062 169.526);
  --chart-4: oklch(0.944 0.038 79.793);
  --chart-5: oklch(0.861 0.085 312.314);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.105 0.021 314.667);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.277 0.013 79.745);
  --muted-foreground: oklch(0.704 0.024 79.831);
  --popover: oklch(0.105 0.021 314.667);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.105 0.021 314.667);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.256 0.006 312.83);
  --input: oklch(0.256 0.006 312.83);
  --primary: oklch(0.862 0.082 312.339);
  --primary-foreground: oklch(0.351 0.169 306.656);
  --secondary: oklch(0.928 0.05 79.703);
  --secondary-foreground: oklch(0.207 0.037 78.701);
  --accent: oklch(0.939 0.062 169.526);
  --accent-foreground: oklch(0.22 0.042 164.339);
  --destructive: oklch(0.693 0.185 42.432);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.862 0.082 312.339);
  --chart-1: oklch(0.862 0.082 312.339);
  --chart-2: oklch(0.928 0.05 79.703);
  --chart-3: oklch(0.939 0.062 169.526);
  --chart-4: oklch(0.944 0.038 79.793);
  --chart-5: oklch(0.861 0.085 312.314);
}