Multicolored is a shadcn/ui theme built around a light purple primary color (#e2b6d5) with muted light purple accents (#eae6e9). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the light purple primary (#e2b6d5) on a purple-tinted background (#0c0409).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fbsnow | #0c0409black |
| Foreground | #0d020ablack | #ffffffwhite |
| Card | #fcf8fbsnow | #0c0409black |
| Card foreground | #0d020ablack | #ffffffwhite |
| Popover | #fcf8fbsnow | #0c0409black |
| Popover foreground | #0d020ablack | #ffffffwhite |
| Primary | #e2b6d5thistle | #e2b6d5thistle |
| Primary foreground | #491d3cdarkslategray | #491d3cdarkslategray |
| Secondary | #eae6e9lavender | #343233darkslategray |
| Secondary foreground | #564852darkslategray | #cdcbcclightgrey |
| Muted | #eceaeblinen | #151315black |
| Muted foreground | #5a585adimgray | #a7a5a6darkgray |
| Accent | #eae6e9lavender | #343233darkslategray |
| Accent foreground | #564852darkslategray | #cdcbcclightgrey |
| Destructive | #9b1f03darkred | #fa3a0forangered |
| Destructive foreground | #fedad2bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e2b6d5thistle | #e2b6d5thistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.34:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 6.95:1 | AA |
| Muted text | 5.86:1 | AA |
| Accent | 6.95:1 | AA |
| Destructive | 6.24:1 | AA |
| Text on background | 20.29:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 7.52:1 | AAA |
| Accent | 7.85:1 | AAA |
| Destructive | 3.69:1 | AA Large |
Paste this into your globals.css to use Multicolored in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.006 335.981);
--foreground: oklch(0.12 0.036 337.317);
--muted: oklch(0.938 0.003 335.926);
--muted-foreground: oklch(0.464 0.003 335.991);
--popover: oklch(0.983 0.006 335.981);
--popover-foreground: oklch(0.12 0.036 337.317);
--card: oklch(0.983 0.006 335.981);
--card-foreground: oklch(0.12 0.036 337.317);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.824 0.066 337.31);
--primary-foreground: oklch(0.307 0.081 340.497);
--secondary: oklch(0.929 0.006 335.987);
--secondary-foreground: oklch(0.419 0.025 336.943);
--accent: oklch(0.929 0.006 335.987);
--accent-foreground: oklch(0.419 0.025 336.943);
--destructive: oklch(0.449 0.163 32.999);
--destructive-foreground: oklch(0.917 0.042 32.742);
--ring: oklch(0.824 0.066 337.31);
--chart-1: oklch(0.824 0.066 337.31);
--chart-2: oklch(0.929 0.006 335.987);
--chart-3: oklch(0.929 0.006 335.987);
--chart-4: oklch(0.953 0.004 335.945);
--chart-5: oklch(0.823 0.071 337.406);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.025 336.658);
--foreground: oklch(1 0 180);
--muted: oklch(0.191 0.004 336.287);
--muted-foreground: oklch(0.723 0.003 335.939);
--popover: oklch(0.123 0.025 336.658);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.123 0.025 336.658);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.824 0.066 337.31);
--primary-foreground: oklch(0.307 0.081 340.497);
--secondary: oklch(0.32 0.002 335.979);
--secondary-foreground: oklch(0.845 0.001 335.901);
--accent: oklch(0.32 0.002 335.979);
--accent-foreground: oklch(0.845 0.001 335.901);
--destructive: oklch(0.643 0.232 32.907);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.824 0.066 337.31);
--chart-1: oklch(0.824 0.066 337.31);
--chart-2: oklch(0.32 0.002 335.979);
--chart-3: oklch(0.32 0.002 335.979);
--chart-4: oklch(0.35 0.002 335.983);
--chart-5: oklch(0.823 0.071 337.406);
}