Iridescent Purple Harrier is a shadcn/ui theme built around a violet primary color (#a06edd) with green accents (#abdd6e). The light mode uses a neutral background (#faf7fd). Dark mode keeps the violet primary (#a06edd) on a violet-tinted background (#07050a).
| Token | Light | Dark |
|---|---|---|
| Background | #faf7fdghostwhite | #07050ablack |
| Foreground | #0c0416black | #ffffffwhite |
| Card | #faf7fdghostwhite | #07050ablack |
| Card foreground | #0c0416black | #ffffffwhite |
| Popover | #faf7fdghostwhite | #07050ablack |
| Popover foreground | #0c0416black | #ffffffwhite |
| Primary | #a06eddmediumpurple | #a06eddmediumpurple |
| Primary foreground | #000000black | #000000black |
| Secondary | #abdd6edarkkhaki | #abdd6edarkkhaki |
| Secondary foreground | #0e1505black | #0e1505black |
| Muted | #d9ded3gainsboro | #272c21darkslategray |
| Muted foreground | #595959dimgray | #a6a6a6darkgray |
| Accent | #abdd6edarkkhaki | #abdd6edarkkhaki |
| Accent foreground | #0e1505black | #0e1505black |
| Destructive | #601006maroon | #f23a21orangered |
| Destructive foreground | #f9a99flightpink | #ffffffwhite |
| Border | #edecefwhitesmoke | #211e24black |
| Input | #edecefwhitesmoke | #211e24black |
| Ring | #a06eddmediumpurple | #a06eddmediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.90:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 5.79:1 | AA |
| Secondary button | 11.80:1 | AAA |
| Muted text | 5.12:1 | AA |
| Accent | 11.80:1 | AAA |
| Destructive | 7.09:1 | AAA |
| Text on background | 20.28:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 5.79:1 | AA |
| Secondary button | 11.80:1 | AAA |
| Muted text | 5.90:1 | AA |
| Accent | 11.80:1 | AAA |
| Destructive | 3.88:1 | AA Large |
Paste this into your globals.css to use Iridescent Purple Harrier in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.009 306.316);
--foreground: oklch(0.134 0.043 304.257);
--muted: oklch(0.894 0.015 126.649);
--muted-foreground: oklch(0.465 0 180);
--popover: oklch(0.979 0.009 306.316);
--popover-foreground: oklch(0.134 0.043 304.257);
--card: oklch(0.979 0.009 306.316);
--card-foreground: oklch(0.134 0.043 304.257);
--border: oklch(0.944 0.005 306.367);
--input: oklch(0.944 0.005 306.367);
--primary: oklch(0.638 0.165 302.774);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.839 0.15 129.173);
--secondary-foreground: oklch(0.182 0.033 128.213);
--accent: oklch(0.839 0.15 129.173);
--accent-foreground: oklch(0.182 0.033 128.213);
--destructive: oklch(0.321 0.115 31.283);
--destructive-foreground: oklch(0.81 0.097 27.679);
--ring: oklch(0.638 0.165 302.774);
--chart-1: oklch(0.638 0.165 302.774);
--chart-2: oklch(0.839 0.15 129.173);
--chart-3: oklch(0.839 0.15 129.173);
--chart-4: oklch(0.852 0.139 128.843);
--chart-5: oklch(0.635 0.173 302.546);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.016 307.238);
--foreground: oklch(1 0 180);
--muted: oklch(0.283 0.02 127.375);
--muted-foreground: oklch(0.724 0 180);
--popover: oklch(0.122 0.016 307.238);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.122 0.016 307.238);
--card-foreground: oklch(1 0 180);
--border: oklch(0.241 0.012 305.801);
--input: oklch(0.241 0.012 305.801);
--primary: oklch(0.638 0.165 302.774);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.839 0.15 129.173);
--secondary-foreground: oklch(0.182 0.033 128.213);
--accent: oklch(0.839 0.15 129.173);
--accent-foreground: oklch(0.182 0.033 128.213);
--destructive: oklch(0.63 0.223 31.04);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.638 0.165 302.774);
--chart-1: oklch(0.638 0.165 302.774);
--chart-2: oklch(0.839 0.15 129.173);
--chart-3: oklch(0.839 0.15 129.173);
--chart-4: oklch(0.852 0.139 128.843);
--chart-5: oklch(0.635 0.173 302.546);
}