Lusty Lavender Bassd is a shadcn/ui theme built around a violet primary color (#875cbc) with muted light violet accents (#cecad3). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the violet primary (#875cbc) on a violet-tinted background (#0a060e).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #0a060eblack |
| Foreground | #000000black | #fcfcfdwhite |
| Card | #faf8fcghostwhite | #0c0712black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfbfewhite | #0a060eblack |
| Popover foreground | #000000black | #fcfcfdwhite |
| Primary | #875cbcslateblue | #875cbcslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e0dfe1gainsboro | #1c191fblack |
| Secondary foreground | #47454adarkslategray | #b4adbdsilver |
| Muted | #efeaf5lavender | #0f0a15black |
| Muted foreground | #3f3749darkslategray | #beb6c8silver |
| Accent | #cecad3lightgrey | #282130darkslategray |
| Accent foreground | #35313adarkslategray | #c1b7cdsilver |
| Destructive | #c64a15chocolate | #e9672fchocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e5e6gainsboro | #1c1b1dblack |
| Input | #e5e5e6gainsboro | #1c1b1dblack |
| Ring | #875cbcslateblue | #875cbcslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.42:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 4.88:1 | AA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 9.58:1 | AAA |
| Accent | 7.89:1 | AAA |
| Destructive | 4.76:1 | AA |
| Text on background | 19.60:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 4.88:1 | AA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 9.99:1 | AAA |
| Accent | 8.05:1 | AAA |
| Destructive | 6.45:1 | AA |
Paste this into your globals.css to use Lusty Lavender Bassd in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 306.39);
--foreground: oklch(0 0 0);
--muted: oklch(0.944 0.016 306.212);
--muted-foreground: oklch(0.352 0.032 305.254);
--popover: oklch(0.991 0.003 306.39);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.006 306.35);
--card-foreground: oklch(0 0 0);
--border: oklch(0.923 0.001 306.408);
--input: oklch(0.923 0.001 306.408);
--primary: oklch(0.564 0.148 302.704);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.906 0.003 306.391);
--secondary-foreground: oklch(0.395 0.008 306.185);
--accent: oklch(0.845 0.013 306.237);
--accent-foreground: oklch(0.32 0.018 305.717);
--destructive: oklch(0.572 0.17 39.929);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.564 0.148 302.704);
--chart-1: oklch(0.564 0.148 302.704);
--chart-2: oklch(0.906 0.003 306.391);
--chart-3: oklch(0.845 0.013 306.237);
--chart-4: oklch(0.93 0.002 306.402);
--chart-5: oklch(0.56 0.158 302.359);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.021 306.099);
--foreground: oklch(0.991 0.002 306.408);
--muted: oklch(0.156 0.025 304.345);
--muted-foreground: oklch(0.789 0.026 306.002);
--popover: oklch(0.133 0.021 306.099);
--popover-foreground: oklch(0.991 0.002 306.408);
--card: oklch(0.144 0.024 304.733);
--card-foreground: oklch(1 0 180);
--border: oklch(0.225 0.002 306.3);
--input: oklch(0.225 0.002 306.3);
--primary: oklch(0.564 0.148 302.704);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.219 0.013 305.696);
--secondary-foreground: oklch(0.758 0.024 306.019);
--accent: oklch(0.264 0.028 305.04);
--accent-foreground: oklch(0.794 0.033 305.905);
--destructive: oklch(0.666 0.175 41.58);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.564 0.148 302.704);
--chart-1: oklch(0.564 0.148 302.704);
--chart-2: oklch(0.219 0.013 305.696);
--chart-3: oklch(0.264 0.028 305.04);
--chart-4: oklch(0.25 0.015 305.638);
--chart-5: oklch(0.56 0.158 302.359);
}