Quiet Lusty Lavender is a shadcn/ui theme built around a violet primary color (#875abf) with purple accents (#ba5abf). The light mode uses a neutral background (#ffffff). Dark mode keeps the violet primary (#875abf) on a violet-tinted background (#0a050f).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a050fblack |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #0a050fblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #0a050fblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #875abfslateblue | #875abfslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #5a5fbfslateblue | #5a5fbfslateblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d6d7e0gainsboro | #1f1f29black |
| Muted foreground | #454654darkslategray | #abacbadarkgray |
| Accent | #ba5abfmediumorchid | #ba5abfmediumorchid |
| Accent foreground | #000000black | #000000black |
| Destructive | #811803maroon | #ea2c06orangered |
| Destructive foreground | #fdc5b9lightpink | #ffffffwhite |
| Border | #eae8eelavender | #211c26black |
| Input | #eae8eelavender | #211c26black |
| Ring | #875abfslateblue | #875abfslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 4.95:1 | AA |
| Secondary button | 5.50:1 | AA |
| Muted text | 6.48:1 | AA |
| Accent | 5.28:1 | AA |
| Destructive | 6.68:1 | AA |
| Text on background | 20.13:1 | AAA |
| Text on card | 20.13:1 | AAA |
| Primary button | 4.95:1 | AA |
| Secondary button | 5.50:1 | AA |
| Muted text | 7.25:1 | AAA |
| Accent | 5.28:1 | AA |
| Destructive | 4.32:1 | AA Large |
Paste this into your globals.css to use Quiet Lusty Lavender in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.881 0.013 283.714);
--muted-foreground: oklch(0.398 0.024 282.849);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.933 0.009 306.31);
--input: oklch(0.933 0.009 306.31);
--primary: oklch(0.561 0.155 302.475);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.53 0.148 277.826);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.62 0.176 325.518);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.394 0.143 32.752);
--destructive-foreground: oklch(0.87 0.067 31.397);
--ring: oklch(0.561 0.155 302.475);
--chart-1: oklch(0.561 0.155 302.475);
--chart-2: oklch(0.53 0.148 277.826);
--chart-3: oklch(0.62 0.176 325.518);
--chart-4: oklch(0.562 0.137 278.755);
--chart-5: oklch(0.558 0.164 302.121);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.131 0.024 306.085);
--foreground: oklch(1 0 180);
--muted: oklch(0.244 0.018 282.603);
--muted-foreground: oklch(0.747 0.021 283.48);
--popover: oklch(0.131 0.024 306.085);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.131 0.024 306.085);
--card-foreground: oklch(1 0 180);
--border: oklch(0.237 0.02 305.356);
--input: oklch(0.237 0.02 305.356);
--primary: oklch(0.561 0.155 302.475);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.53 0.148 277.826);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.62 0.176 325.518);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.604 0.226 31.958);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.561 0.155 302.475);
--chart-1: oklch(0.561 0.155 302.475);
--chart-2: oklch(0.53 0.148 277.826);
--chart-3: oklch(0.62 0.176 325.518);
--chart-4: oklch(0.562 0.137 278.755);
--chart-5: oklch(0.558 0.164 302.121);
}