Illustrious is a shadcn/ui theme built around a muted light purple primary color (#eee3ea) with muted light purple accents (#d9c9d4). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light purple primary (#eee3ea) on a neutral background (#040103).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040103black |
| Foreground | #140510black | #fbf9fasnow |
| Card | #fcfcfcsnow | #070306black |
| Card foreground | #10040dblack | #fdfcfdwhite |
| Popover | #ffffffwhite | #040103black |
| Popover foreground | #140510black | #fbf9fasnow |
| Primary | #eee3ealinen | #eee3ealinen |
| Primary foreground | #623c57dimgray | #623c57dimgray |
| Secondary | #d9c9d4thistle | #272025black |
| Secondary foreground | #422e3cdarkslategray | #c3b7bfsilver |
| Muted | #ebd6e5gainsboro | #291423black |
| Muted foreground | #5f545bdimgray | #aba0a8darkgray |
| Accent | #d9c9d4thistle | #272025black |
| Accent foreground | #422e3cdarkslategray | #c3b7bfsilver |
| Destructive | #972311brown | #e6351aorangered |
| Destructive foreground | #fbe3dfmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eee3ealinen | #eee3ealinen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.83:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 7.27:1 | AAA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 5.24:1 | AA |
| Accent | 7.85:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 19.79:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 7.27:1 | AAA |
| Secondary button | 8.18:1 | AAA |
| Muted text | 6.82:1 | AA |
| Accent | 8.18:1 | AAA |
| Destructive | 4.31:1 | AA Large |
Paste this into your globals.css to use Illustrious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.149 0.034 339.06);
--muted: oklch(0.897 0.031 336.503);
--muted-foreground: oklch(0.459 0.018 336.6);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.149 0.034 339.06);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.136 0.03 338.14);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.925 0.016 336.185);
--primary-foreground: oklch(0.411 0.066 338.674);
--secondary: oklch(0.852 0.024 336.392);
--secondary-foreground: oklch(0.33 0.037 337.871);
--accent: oklch(0.852 0.024 336.392);
--accent-foreground: oklch(0.33 0.037 337.871);
--destructive: oklch(0.446 0.155 31.647);
--destructive-foreground: oklch(0.934 0.028 28.111);
--ring: oklch(0.925 0.016 336.185);
--chart-1: oklch(0.925 0.016 336.185);
--chart-2: oklch(0.852 0.024 336.392);
--chart-3: oklch(0.852 0.024 336.392);
--chart-4: oklch(0.877 0.02 336.29);
--chart-5: oklch(0.925 0.018 336.225);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.014 336.278);
--foreground: oklch(0.983 0.003 335.934);
--muted: oklch(0.228 0.043 339.15);
--muted-foreground: oklch(0.718 0.016 336.29);
--popover: oklch(0.087 0.014 336.278);
--popover-foreground: oklch(0.983 0.003 335.934);
--card: oklch(0.109 0.017 336.278);
--card-foreground: oklch(0.992 0.002 335.901);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.925 0.016 336.185);
--primary-foreground: oklch(0.411 0.066 338.674);
--secondary: oklch(0.255 0.013 336.778);
--secondary-foreground: oklch(0.791 0.018 336.285);
--accent: oklch(0.255 0.013 336.778);
--accent-foreground: oklch(0.791 0.018 336.285);
--destructive: oklch(0.603 0.216 31.587);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.925 0.016 336.185);
--chart-1: oklch(0.925 0.016 336.185);
--chart-2: oklch(0.255 0.013 336.778);
--chart-3: oklch(0.255 0.013 336.778);
--chart-4: oklch(0.285 0.015 336.825);
--chart-5: oklch(0.925 0.018 336.225);
}