Greyish Lavender Chinchilla for shadcn/ui

Greyish Lavender Chinchilla is a shadcn/ui theme built around a vivid light indigo primary color (#b8b8ff) with vivid light violet accents (#dbb8ff). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the vivid light indigo primary (#b8b8ff) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#000000black
Foreground
#020209black
#fcfcfdwhite
Card
#f8f8fcghostwhite
#030303black
Card foreground
#010104black
#ffffffwhite
Popover
#fbfbfeghostwhite
#000000black
Popover foreground
#020209black
#fcfcfdwhite
Primary
#b8b8fflightsteelblue
#b8b8fflightsteelblue
Primary foreground
#000085navy
#000085navy
Secondary
#b8dbffpowderblue
#b8dbffpowderblue
Secondary foreground
#004285midnightblue
#004285midnightblue
Muted
#d1dbe6gainsboro
#19242edarkslategray
Muted foreground
#60666cdimgray
#93999fdarkgray
Accent
#dbb8ffthistle
#dbb8ffthistle
Accent foreground
#420085indigo
#420085indigo
Destructive
#ba4908chocolate
#f05e0aorangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e4e4e7gainsboro
#1d1d20black
Input
#e4e4e7gainsboro
#1d1d20black
Ring
#b8b8fflightsteelblue
#b8b8fflightsteelblue

Contrast

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

Light mode
Text on background20.07:1AAA
Text on card19.61:1AAA
Primary button8.43:1AAA
Secondary button6.91:1AA
Muted text4.15:1AA Large
Accent7.82:1AAA
Destructive5.18:1AA
Dark mode
Text on background20.48:1AAA
Text on card20.67:1AAA
Primary button8.43:1AAA
Secondary button6.91:1AA
Muted text5.48:1AA
Accent7.82:1AAA
Destructive6.31:1AA

CSS variables

Paste this into your globals.css to use Greyish Lavender Chinchilla in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 286.344);
  --foreground: oklch(0.089 0.026 279.644);
  --muted: oklch(0.887 0.019 248.039);
  --muted-foreground: oklch(0.507 0.012 248.071);
  --popover: oklch(0.99 0.003 286.344);
  --popover-foreground: oklch(0.089 0.026 279.644);
  --card: oklch(0.979 0.006 286.287);
  --card-foreground: oklch(0.071 0.021 279.644);
  --border: oklch(0.92 0.004 286.318);
  --input: oklch(0.92 0.004 286.318);
  --primary: oklch(0.807 0.1 283.926);
  --primary-foreground: oklch(0.278 0.193 264.052);
  --secondary: oklch(0.878 0.062 248.54);
  --secondary-foreground: oklch(0.385 0.126 254.785);
  --accent: oklch(0.837 0.105 307.059);
  --accent-foreground: oklch(0.33 0.181 295.682);
  --destructive: oklch(0.55 0.16 43.041);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.807 0.1 283.926);
  --chart-1: oklch(0.807 0.1 283.926);
  --chart-2: oklch(0.878 0.062 248.54);
  --chart-3: oklch(0.837 0.105 307.059);
  --chart-4: oklch(0.904 0.049 248.366);
  --chart-5: oklch(0.805 0.103 283.834);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.991 0.001 286.375);
  --muted: oklch(0.254 0.025 248.857);
  --muted-foreground: oklch(0.68 0.011 247.996);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.991 0.001 286.375);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.231 0.007 285.839);
  --input: oklch(0.231 0.007 285.839);
  --primary: oklch(0.807 0.1 283.926);
  --primary-foreground: oklch(0.278 0.193 264.052);
  --secondary: oklch(0.878 0.062 248.54);
  --secondary-foreground: oklch(0.385 0.126 254.785);
  --accent: oklch(0.837 0.105 307.059);
  --accent-foreground: oklch(0.33 0.181 295.682);
  --destructive: oklch(0.663 0.195 42.506);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.807 0.1 283.926);
  --chart-1: oklch(0.807 0.1 283.926);
  --chart-2: oklch(0.878 0.062 248.54);
  --chart-3: oklch(0.837 0.105 307.059);
  --chart-4: oklch(0.904 0.049 248.366);
  --chart-5: oklch(0.805 0.103 283.834);
}