Opulent Mauve Hyena is a shadcn/ui theme built around a deep purple primary color (#482346) with muted light purple accents (#d8cad7). The light mode uses a neutral background (#fdf6fd). Dark mode keeps the deep purple primary (#482346) on a neutral background (#070307).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf6fdsnow | #070307black |
| Foreground | #0d020cblack | #f9f6f9whitesmoke |
| Card | #fcf2fcghostwhite | #0b050ablack |
| Card foreground | #090208black | #fbf9fbsnow |
| Popover | #fcf2fcghostwhite | #0b050ablack |
| Popover foreground | #090208black | #fbf9fbsnow |
| Primary | #482346darkslategray | #482346darkslategray |
| Primary foreground | #e0beddthistle | #e0beddthistle |
| Secondary | #d8cad7thistle | #3b2b3adarkslategray |
| Secondary foreground | #41303fdarkslategray | #d4c4d3thistle |
| Muted | #f5ebf4whitesmoke | #140a14black |
| Muted foreground | #6d5f6cdimgray | #a0929fdarkgray |
| Accent | #d8cad7thistle | #3b2b3adarkslategray |
| Accent foreground | #41303fdarkslategray | #d4c4d3thistle |
| Destructive | #94160adarkred | #e52210red |
| Destructive foreground | #fcd7d4mistyrose | #ffffffwhite |
| Border | #ede8edlavender | #1d161dblack |
| Input | #ede8edlavender | #1d161dblack |
| Ring | #482346darkslategray | #482346darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.24:1 | AAA |
| Text on card | 18.83:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 7.77:1 | AAA |
| Muted text | 5.14:1 | AA |
| Accent | 7.77:1 | AAA |
| Destructive | 6.66:1 | AA |
| Text on background | 19.08:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 6.55:1 | AA |
| Accent | 7.94:1 | AAA |
| Destructive | 4.60:1 | AA |
Paste this into your globals.css to use Opulent Mauve Hyena in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.011 327.656);
--foreground: oklch(0.122 0.036 329.504);
--muted: oklch(0.95 0.016 327.716);
--muted-foreground: oklch(0.503 0.027 328.066);
--popover: oklch(0.973 0.017 327.713);
--popover-foreground: oklch(0.106 0.031 329.259);
--card: oklch(0.973 0.017 327.713);
--card-foreground: oklch(0.106 0.031 329.259);
--border: oklch(0.936 0.009 327.644);
--input: oklch(0.936 0.009 327.644);
--primary: oklch(0.321 0.077 329.686);
--primary-foreground: oklch(0.839 0.057 328.193);
--secondary: oklch(0.855 0.023 327.808);
--secondary-foreground: oklch(0.333 0.036 328.543);
--accent: oklch(0.855 0.023 327.808);
--accent-foreground: oklch(0.333 0.036 328.543);
--destructive: oklch(0.429 0.161 30.073);
--destructive-foreground: oklch(0.91 0.041 24.08);
--ring: oklch(0.321 0.077 329.686);
--chart-1: oklch(0.321 0.077 329.686);
--chart-2: oklch(0.855 0.023 327.808);
--chart-3: oklch(0.855 0.023 327.808);
--chart-4: oklch(0.879 0.019 327.758);
--chart-5: oklch(0.322 0.083 329.837);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.111 0.016 328.473);
--foreground: oklch(0.976 0.004 327.591);
--muted: oklch(0.165 0.025 328.947);
--muted-foreground: oklch(0.676 0.025 327.909);
--popover: oklch(0.127 0.019 328.5);
--popover-foreground: oklch(0.984 0.003 327.576);
--card: oklch(0.127 0.019 328.5);
--card-foreground: oklch(0.984 0.003 327.576);
--border: oklch(0.212 0.017 328.303);
--input: oklch(0.212 0.017 328.303);
--primary: oklch(0.321 0.077 329.686);
--primary-foreground: oklch(0.839 0.057 328.193);
--secondary: oklch(0.313 0.035 328.586);
--secondary-foreground: oklch(0.838 0.028 327.864);
--accent: oklch(0.313 0.035 328.586);
--accent-foreground: oklch(0.838 0.028 327.864);
--destructive: oklch(0.59 0.227 30.092);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.321 0.077 329.686);
--chart-1: oklch(0.321 0.077 329.686);
--chart-2: oklch(0.313 0.035 328.586);
--chart-3: oklch(0.313 0.035 328.586);
--chart-4: oklch(0.342 0.039 328.615);
--chart-5: oklch(0.322 0.083 329.837);
}