Electric Lavender Vole is a shadcn/ui theme built around a vivid light purple primary color (#f6bef9) with vivid light green accents (#c1f9be). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the vivid light purple primary (#f6bef9) on a neutral background (#040104).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #040104black |
| Foreground | #100311black | #fcf8fcsnow |
| Card | #fcf8fcsnow | #070307black |
| Card foreground | #0c020dblack | #fdfcfdwhite |
| Popover | #fcf8fcsnow | #070307black |
| Popover foreground | #0c020dblack | #fdfcfdwhite |
| Primary | #f6bef9lavender | #f6bef9lavender |
| Primary foreground | #730c79purple | #730c79purple |
| Secondary | #c1f9belightgrey | #c1f9belightgrey |
| Secondary foreground | #041c03black | #041c03black |
| Muted | #e9ede8linen | #121712black |
| Muted foreground | #5b725adimgray | #8ea58ddarkseagreen |
| Accent | #c1f9belightgrey | #c1f9belightgrey |
| Accent foreground | #041c03black | #041c03black |
| Destructive | #760d0amaroon | #ef443etomato |
| Destructive foreground | #f9bab8lightpink | #ffffffwhite |
| Border | #f2eef2whitesmoke | #251d26black |
| Input | #f2eef2whitesmoke | #251d26black |
| Ring | #f6bef9lavender | #f6bef9lavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.61:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 6.62:1 | AA |
| Secondary button | 14.93:1 | AAA |
| Muted text | 4.42:1 | AA Large |
| Accent | 14.93:1 | AAA |
| Destructive | 6.95:1 | AA |
| Text on background | 19.72:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 6.62:1 | AA |
| Secondary button | 14.93:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 14.93:1 | AAA |
| Destructive | 3.77:1 | AA Large |
Paste this into your globals.css to use Electric Lavender Vole in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 324.152);
--foreground: oklch(0.136 0.041 325.847);
--muted: oklch(0.941 0.007 144.084);
--muted-foreground: oklch(0.527 0.047 143.595);
--popover: oklch(0.983 0.008 324.175);
--popover-foreground: oklch(0.122 0.035 325.994);
--card: oklch(0.983 0.008 324.175);
--card-foreground: oklch(0.122 0.035 325.994);
--border: oklch(0.952 0.007 324.174);
--input: oklch(0.952 0.007 324.174);
--primary: oklch(0.87 0.099 324.756);
--primary-foreground: oklch(0.399 0.177 325.821);
--secondary: oklch(0.928 0.097 143.498);
--secondary-foreground: oklch(0.199 0.058 141.894);
--accent: oklch(0.928 0.097 143.498);
--accent-foreground: oklch(0.199 0.058 141.894);
--destructive: oklch(0.363 0.138 28.705);
--destructive-foreground: oklch(0.847 0.073 20.974);
--ring: oklch(0.87 0.099 324.756);
--chart-1: oklch(0.87 0.099 324.756);
--chart-2: oklch(0.928 0.097 143.498);
--chart-3: oklch(0.928 0.097 143.498);
--chart-4: oklch(0.942 0.076 143.644);
--chart-5: oklch(0.869 0.103 324.777);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.015 325.403);
--foreground: oklch(0.983 0.006 324.167);
--muted: oklch(0.197 0.011 143.796);
--muted-foreground: oklch(0.698 0.044 143.755);
--popover: oklch(0.11 0.019 325.403);
--popover-foreground: oklch(0.991 0.003 324.148);
--card: oklch(0.11 0.019 325.403);
--card-foreground: oklch(0.991 0.003 324.148);
--border: oklch(0.243 0.022 324.627);
--input: oklch(0.243 0.022 324.627);
--primary: oklch(0.87 0.099 324.756);
--primary-foreground: oklch(0.399 0.177 325.821);
--secondary: oklch(0.928 0.097 143.498);
--secondary-foreground: oklch(0.199 0.058 141.894);
--accent: oklch(0.928 0.097 143.498);
--accent-foreground: oklch(0.199 0.058 141.894);
--destructive: oklch(0.636 0.209 27.014);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.87 0.099 324.756);
--chart-1: oklch(0.87 0.099 324.756);
--chart-2: oklch(0.928 0.097 143.498);
--chart-3: oklch(0.928 0.097 143.498);
--chart-4: oklch(0.942 0.076 143.644);
--chart-5: oklch(0.869 0.103 324.777);
}