Enthusiastic Euphoric Lilac is a shadcn/ui theme built around a muted light purple primary color (#d7c4d9) with muted light pink accents (#d9c4d0). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light purple primary (#d7c4d9) on a purple-tinted background (#0a050a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a050ablack |
| Foreground | #0f0510black | #fbf9fbsnow |
| Card | #ffffffwhite | #0a050ablack |
| Card foreground | #0f0510black | #fbf9fbsnow |
| Popover | #ffffffwhite | #0a050ablack |
| Popover foreground | #0f0510black | #fbf9fbsnow |
| Primary | #d7c4d9thistle | #d7c4d9thistle |
| Primary foreground | #3f2a41darkslategray | #3f2a41darkslategray |
| Secondary | #cdc4d9thistle | #cdc4d9thistle |
| Secondary foreground | #342a41darkslategray | #342a41darkslategray |
| Muted | #e4dfeclavender | #181320black |
| Muted foreground | #49464edarkslategray | #b4b1b9silver |
| Accent | #d9c4d0thistle | #d9c4d0thistle |
| Accent foreground | #412a38darkslategray | #412a38darkslategray |
| Destructive | #be370efirebrick | #ef5425chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e9e7e9lavender | #252325darkslategray |
| Input | #e9e7e9lavender | #252325darkslategray |
| Ring | #d7c4d9thistle | #d7c4d9thistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.00:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 7.90:1 | AAA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 7.10:1 | AAA |
| Accent | 7.90:1 | AAA |
| Destructive | 5.61:1 | AA |
| Text on background | 19.29:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 7.90:1 | AAA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 8.58:1 | AAA |
| Accent | 7.90:1 | AAA |
| Destructive | 3.53:1 | AA Large |
Paste this into your globals.css to use Enthusiastic Euphoric Lilac in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.137 0.031 324.353);
--muted: oklch(0.912 0.017 304.783);
--muted-foreground: oklch(0.399 0.015 304.511);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.137 0.031 324.353);
--card: oklch(1 0 180);
--card-foreground: oklch(0.137 0.031 324.353);
--border: oklch(0.93 0.002 323.146);
--input: oklch(0.93 0.002 323.146);
--primary: oklch(0.843 0.036 323.329);
--primary-foreground: oklch(0.32 0.05 323.798);
--secondary: oklch(0.834 0.031 304.534);
--secondary-foreground: oklch(0.306 0.043 303.035);
--accent: oklch(0.841 0.029 341.802);
--accent-foreground: oklch(0.318 0.041 343.834);
--destructive: oklch(0.535 0.177 35.531);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.843 0.036 323.329);
--chart-1: oklch(0.843 0.036 323.329);
--chart-2: oklch(0.834 0.031 304.534);
--chart-3: oklch(0.841 0.029 341.802);
--chart-4: oklch(0.86 0.026 304.631);
--chart-5: oklch(0.841 0.041 323.356);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.017 324.201);
--foreground: oklch(0.984 0.003 323.151);
--muted: oklch(0.201 0.025 303.286);
--muted-foreground: oklch(0.765 0.013 304.808);
--popover: oklch(0.127 0.017 324.201);
--popover-foreground: oklch(0.984 0.003 323.151);
--card: oklch(0.127 0.017 324.201);
--card-foreground: oklch(0.984 0.003 323.151);
--border: oklch(0.258 0.005 323.222);
--input: oklch(0.258 0.005 323.222);
--primary: oklch(0.843 0.036 323.329);
--primary-foreground: oklch(0.32 0.05 323.798);
--secondary: oklch(0.834 0.031 304.534);
--secondary-foreground: oklch(0.306 0.043 303.035);
--accent: oklch(0.841 0.029 341.802);
--accent-foreground: oklch(0.318 0.041 343.834);
--destructive: oklch(0.65 0.199 36.481);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.843 0.036 323.329);
--chart-1: oklch(0.843 0.036 323.329);
--chart-2: oklch(0.834 0.031 304.534);
--chart-3: oklch(0.841 0.029 341.802);
--chart-4: oklch(0.86 0.026 304.631);
--chart-5: oklch(0.841 0.041 323.356);
}