Easter Purple Alligator is a shadcn/ui theme built around a vivid violet primary color (#bf6bff) with light violet accents (#e0c8ed). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid violet primary (#bf6bff) on a neutral background (#050307).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050307black |
| Foreground | #0e0416black | #faf9fbghostwhite |
| Card | #fcfcfcsnow | #08050bblack |
| Card foreground | #0b0311black | #fdfcfdwhite |
| Popover | #fcfcfcsnow | #08050bblack |
| Popover foreground | #0b0311black | #fdfcfdwhite |
| Primary | #bf6bfforchid | #bf6bfforchid |
| Primary foreground | #200038midnightblue | #200038midnightblue |
| Secondary | #ffbf6bsandybrown | #ffbf6bsandybrown |
| Secondary foreground | #382000black | #382000black |
| Muted | #efebe6linen | #191510black |
| Muted foreground | #68645edimgray | #a19c97darkgray |
| Accent | #e0c8edthistle | #6bffbfaquamarine |
| Accent foreground | #003820darkgreen | #003820darkgreen |
| Destructive | #a83810brown | #ed6a3btomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #edebeflavender | #1a161dblack |
| Input | #edebeflavender | #1a161dblack |
| Ring | #bf6bfforchid | #bf6bfforchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.04:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 6.04:1 | AA |
| Secondary button | 9.39:1 | AAA |
| Muted text | 4.95:1 | AA |
| Accent | 8.59:1 | AAA |
| Destructive | 6.47:1 | AA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 6.04:1 | AA |
| Secondary button | 9.39:1 | AAA |
| Muted text | 6.68:1 | AA |
| Accent | 10.51:1 | AAA |
| Destructive | 6.73:1 | AA |
Paste this into your globals.css to use Easter Purple Alligator in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.138 0.043 309.8);
--muted: oklch(0.942 0.008 74.904);
--muted-foreground: oklch(0.506 0.01 74.819);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.126 0.038 311.152);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.126 0.038 311.152);
--border: oklch(0.943 0.007 311.022);
--input: oklch(0.943 0.007 311.022);
--primary: oklch(0.686 0.217 307.806);
--primary-foreground: oklch(0.195 0.101 304.576);
--secondary: oklch(0.847 0.125 72.118);
--secondary-foreground: oklch(0.268 0.059 68.986);
--accent: oklch(0.864 0.057 313.523);
--accent-foreground: oklch(0.3 0.07 157.998);
--destructive: oklch(0.499 0.154 37.803);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.686 0.217 307.806);
--chart-1: oklch(0.686 0.217 307.806);
--chart-2: oklch(0.847 0.125 72.118);
--chart-3: oklch(0.903 0.157 162.004);
--chart-4: oklch(0.861 0.114 72.786);
--chart-5: oklch(0.684 0.223 307.672);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.015 312.259);
--foreground: oklch(0.983 0.004 311.049);
--muted: oklch(0.198 0.011 74.472);
--muted-foreground: oklch(0.695 0.01 74.867);
--popover: oklch(0.123 0.017 312.227);
--popover-foreground: oklch(0.991 0.002 311.067);
--card: oklch(0.123 0.017 312.227);
--card-foreground: oklch(0.991 0.002 311.067);
--border: oklch(0.208 0.014 310.499);
--input: oklch(0.208 0.014 310.499);
--primary: oklch(0.686 0.217 307.806);
--primary-foreground: oklch(0.195 0.101 304.576);
--secondary: oklch(0.847 0.125 72.118);
--secondary-foreground: oklch(0.268 0.059 68.986);
--accent: oklch(0.903 0.157 162.004);
--accent-foreground: oklch(0.3 0.07 157.998);
--destructive: oklch(0.677 0.173 39.643);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.686 0.217 307.806);
--chart-1: oklch(0.686 0.217 307.806);
--chart-2: oklch(0.847 0.125 72.118);
--chart-3: oklch(0.903 0.157 162.004);
--chart-4: oklch(0.861 0.114 72.786);
--chart-5: oklch(0.684 0.223 307.672);
}