Eupatorium Purple Mouse is a shadcn/ui theme built around a purple primary color (#c738e0) with muted light purple accents (#cdbed0). The light mode uses a neutral background (#fcf7fd). Dark mode keeps the purple primary (#c738e0) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7fdghostwhite | #000000black |
| Foreground | #100212black | #fdfbfdsnow |
| Card | #faf3fcghostwhite | #030303black |
| Card foreground | #0c020eblack | #ffffffwhite |
| Popover | #fcf7fdghostwhite | #000000black |
| Popover foreground | #100212black | #fdfbfdsnow |
| Primary | #c738e0mediumorchid | #c738e0mediumorchid |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ded8dfgainsboro | #211b22black |
| Secondary foreground | #473c49darkslategray | #bdb0bfsilver |
| Muted | #e5d4e8gainsboro | #28172bblack |
| Muted foreground | #514054darkslategray | #bcabbfsilver |
| Accent | #cdbed0thistle | #3f2f42darkslategray |
| Accent foreground | #332735darkslategray | #d7c9d9thistle |
| Destructive | #a9320afirebrick | #e7440dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e9e7e9lavender | #282429darkslategray |
| Input | #e9e7e9lavender | #282429darkslategray |
| Ring | #c738e0mediumorchid | #c738e0mediumorchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.10:1 | AAA |
| Text on card | 18.73:1 | AAA |
| Primary button | 4.13:1 | AA Large |
| Secondary button | 7.44:1 | AAA |
| Muted text | 6.73:1 | AA |
| Accent | 8.00:1 | AAA |
| Destructive | 6.70:1 | AA |
| Text on background | 20.39:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 4.13:1 | AA Large |
| Secondary button | 8.12:1 | AAA |
| Muted text | 7.77:1 | AAA |
| Accent | 7.85:1 | AAA |
| Destructive | 4.00:1 | AA Large |
Paste this into your globals.css to use Eupatorium Purple Mouse in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.009 321.085);
--foreground: oklch(0.132 0.047 322.578);
--muted: oklch(0.889 0.032 321.144);
--muted-foreground: oklch(0.397 0.038 321.262);
--popover: oklch(0.982 0.009 321.085);
--popover-foreground: oklch(0.132 0.047 322.578);
--card: oklch(0.972 0.014 321.096);
--card-foreground: oklch(0.118 0.041 323.174);
--border: oklch(0.93 0.004 321.076);
--input: oklch(0.93 0.004 321.076);
--primary: oklch(0.622 0.254 321.099);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.888 0.012 321.094);
--secondary-foreground: oklch(0.372 0.027 321.217);
--accent: oklch(0.819 0.03 321.144);
--accent-foreground: oklch(0.291 0.031 321.284);
--destructive: oklch(0.492 0.162 36.216);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.622 0.254 321.099);
--chart-1: oklch(0.622 0.254 321.099);
--chart-2: oklch(0.888 0.012 321.094);
--chart-3: oklch(0.819 0.03 321.144);
--chart-4: oklch(0.912 0.009 321.087);
--chart-5: oklch(0.625 0.261 321.033);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.003 321.072);
--muted: oklch(0.237 0.044 321.398);
--muted-foreground: oklch(0.762 0.033 321.157);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.991 0.003 321.072);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.266 0.01 321.147);
--input: oklch(0.266 0.01 321.147);
--primary: oklch(0.622 0.254 321.099);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.233 0.015 321.204);
--secondary-foreground: oklch(0.772 0.027 321.139);
--accent: oklch(0.33 0.04 321.305);
--accent-foreground: oklch(0.852 0.026 321.13);
--destructive: oklch(0.62 0.208 35.817);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.622 0.254 321.099);
--chart-1: oklch(0.622 0.254 321.099);
--chart-2: oklch(0.233 0.015 321.204);
--chart-3: oklch(0.33 0.04 321.305);
--chart-4: oklch(0.264 0.019 321.213);
--chart-5: oklch(0.625 0.261 321.033);
}