Illustrious is a shadcn/ui theme built around a light purple primary color (#e4a3eb) with light teal accents (#a3ebe4). The light mode uses a neutral background (#fdfbfd). Dark mode keeps the light purple primary (#e4a3eb) on a purple-tinted background (#0f0410).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfdsnow | #0f0410black |
| Foreground | #080109black | #fdfcfdwhite |
| Card | #fdfbfdsnow | #0f0410black |
| Card foreground | #080109black | #fdfcfdwhite |
| Popover | #fdfbfdsnow | #0f0410black |
| Popover foreground | #080109black | #fdfcfdwhite |
| Primary | #e4a3ebplum | #e4a3ebplum |
| Primary foreground | #45114bindigo | #45114bindigo |
| Secondary | #ebe4a3palegoldenrod | #ebe4a3palegoldenrod |
| Secondary foreground | #4b4511darkolivegreen | #4b4511darkolivegreen |
| Muted | #eae9dcbeige | #232215black |
| Muted foreground | #757257dimgray | #a8a58arosybrown |
| Accent | #a3ebe4paleturquoise | #a3ebe4paleturquoise |
| Accent foreground | #114b45darkslategray | #114b45darkslategray |
| Destructive | #b03a07firebrick | #f55814orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e4a3ebplum | #e4a3ebplum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.08:1 | AAA |
| Text on card | 20.08:1 | AAA |
| Primary button | 7.47:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 3.99:1 | AA Large |
| Accent | 7.34:1 | AAA |
| Destructive | 6.06:1 | AA |
| Text on background | 19.60:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 7.47:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 6.41:1 | AA |
| Accent | 7.34:1 | AAA |
| Destructive | 3.34:1 | AA Large |
Paste this into your globals.css to use Illustrious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 322.641);
--foreground: oklch(0.103 0.036 325.162);
--muted: oklch(0.931 0.018 101.581);
--muted-foreground: oklch(0.548 0.041 102.343);
--popover: oklch(0.991 0.003 322.641);
--popover-foreground: oklch(0.103 0.036 325.162);
--card: oklch(0.991 0.003 322.641);
--card-foreground: oklch(0.103 0.036 325.162);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.8 0.121 323.182);
--primary-foreground: oklch(0.294 0.112 323.564);
--secondary: oklch(0.908 0.083 102.54);
--secondary-foreground: oklch(0.387 0.071 102.871);
--accent: oklch(0.89 0.072 188.119);
--accent-foreground: oklch(0.376 0.059 185.218);
--destructive: oklch(0.515 0.162 38.609);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.8 0.121 323.182);
--chart-1: oklch(0.8 0.121 323.182);
--chart-2: oklch(0.908 0.083 102.54);
--chart-3: oklch(0.89 0.072 188.119);
--chart-4: oklch(0.92 0.072 102.393);
--chart-5: oklch(0.8 0.126 323.204);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.033 323.848);
--foreground: oklch(0.992 0.003 322.637);
--muted: oklch(0.249 0.023 102.562);
--muted-foreground: oklch(0.718 0.039 102.081);
--popover: oklch(0.137 0.033 323.848);
--popover-foreground: oklch(0.992 0.003 322.637);
--card: oklch(0.137 0.033 323.848);
--card-foreground: oklch(0.992 0.003 322.637);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.8 0.121 323.182);
--primary-foreground: oklch(0.294 0.112 323.564);
--secondary: oklch(0.908 0.083 102.54);
--secondary-foreground: oklch(0.387 0.071 102.871);
--accent: oklch(0.89 0.072 188.119);
--accent-foreground: oklch(0.376 0.059 185.218);
--destructive: oklch(0.664 0.205 39.105);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.8 0.121 323.182);
--chart-1: oklch(0.8 0.121 323.182);
--chart-2: oklch(0.908 0.083 102.54);
--chart-3: oklch(0.89 0.072 188.119);
--chart-4: oklch(0.92 0.072 102.393);
--chart-5: oklch(0.8 0.126 323.204);
}