High is a shadcn/ui theme built around a vivid light purple primary color (#faddfd) with vivid light green accents (#e1fddd). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light purple primary (#faddfd) on a neutral background (#070208).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070208black |
| Foreground | #0b040bblack | #fdfcfdwhite |
| Card | #ffffffwhite | #070208black |
| Card foreground | #0b040bblack | #fdfcfdwhite |
| Popover | #ffffffwhite | #070208black |
| Popover foreground | #0b040bblack | #fdfcfdwhite |
| Primary | #faddfdlavenderblush | #faddfdlavenderblush |
| Primary foreground | #8f08a1darkmagenta | #8f08a1darkmagenta |
| Secondary | #e1fdddbeige | #e1fdddbeige |
| Secondary foreground | #0a3f03darkgreen | #0a3f03darkgreen |
| Muted | #dfe8degainsboro | #182117black |
| Muted foreground | #3c4a3adarkslategray | #b7c5b5silver |
| Accent | #e1fdddbeige | #e1fdddbeige |
| Accent foreground | #0a3f03darkgreen | #0a3f03darkgreen |
| Destructive | #612a0asaddlebrown | #ea7734peru |
| Destructive foreground | #f6c4a7navajowhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #faddfdlavenderblush | #faddfdlavenderblush |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 11.20:1 | AAA |
| Muted text | 7.50:1 | AAA |
| Accent | 11.20:1 | AAA |
| Destructive | 7.25:1 | AAA |
| Text on background | 20.06:1 | AAA |
| Text on card | 20.06:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 11.20:1 | AAA |
| Muted text | 9.16:1 | AAA |
| Accent | 11.20:1 | AAA |
| Destructive | 7.15:1 | AAA |
Paste this into your globals.css to use High in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.124 0.025 323.522);
--muted: oklch(0.922 0.017 142.048);
--muted-foreground: oklch(0.393 0.032 141.831);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.124 0.025 323.522);
--card: oklch(1 0 180);
--card-foreground: oklch(0.124 0.025 323.522);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.93 0.053 322.303);
--primary-foreground: oklch(0.47 0.219 322.084);
--secondary: oklch(0.966 0.052 141.925);
--secondary-foreground: oklch(0.322 0.103 141.329);
--accent: oklch(0.966 0.052 141.925);
--accent-foreground: oklch(0.322 0.103 141.329);
--destructive: oklch(0.357 0.09 46.349);
--destructive-foreground: oklch(0.857 0.069 51.555);
--ring: oklch(0.93 0.053 322.303);
--chart-1: oklch(0.93 0.053 322.303);
--chart-2: oklch(0.966 0.052 141.925);
--chart-3: oklch(0.966 0.052 141.925);
--chart-4: oklch(0.98 0.03 142.008);
--chart-5: oklch(0.93 0.055 322.309);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.025 323.922);
--foreground: oklch(0.992 0.002 322.121);
--muted: oklch(0.236 0.024 141.76);
--muted-foreground: oklch(0.807 0.027 141.998);
--popover: oklch(0.107 0.025 323.922);
--popover-foreground: oklch(0.992 0.002 322.121);
--card: oklch(0.107 0.025 323.922);
--card-foreground: oklch(0.992 0.002 322.121);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.93 0.053 322.303);
--primary-foreground: oklch(0.47 0.219 322.084);
--secondary: oklch(0.966 0.052 141.925);
--secondary-foreground: oklch(0.322 0.103 141.329);
--accent: oklch(0.966 0.052 141.925);
--accent-foreground: oklch(0.322 0.103 141.329);
--destructive: oklch(0.69 0.162 47.442);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.93 0.053 322.303);
--chart-1: oklch(0.93 0.053 322.303);
--chart-2: oklch(0.966 0.052 141.925);
--chart-3: oklch(0.966 0.052 141.925);
--chart-4: oklch(0.98 0.03 142.008);
--chart-5: oklch(0.93 0.055 322.309);
}