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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.07:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 8.43:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 4.15:1 | AA Large |
| Accent | 7.82:1 | AAA |
| Destructive | 5.18:1 | AA |
| Text on background | 20.48:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.43:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 5.48:1 | AA |
| Accent | 7.82:1 | AAA |
| Destructive | 6.31:1 | AA |
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);
}