High is a shadcn/ui theme built around a vivid light violet primary color (#cfb3fa) with vivid light purple accents (#f3b3fa). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light violet primary (#cfb3fa) on a violet-tinted background (#07050a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #07050ablack |
| Foreground | #040208black | #fcfcfdwhite |
| Card | #ffffffwhite | #07050ablack |
| Card foreground | #040208black | #fcfcfdwhite |
| Popover | #ffffffwhite | #07050ablack |
| Popover foreground | #040208black | #fcfcfdwhite |
| Primary | #cfb3fathistle | #cfb3fathistle |
| Primary foreground | #330872indigo | #330872indigo |
| Secondary | #b3bafalightsteelblue | #b3bafalightsteelblue |
| Secondary foreground | #081372midnightblue | #081372midnightblue |
| Muted | #dcdde0gainsboro | #1f2023black |
| Muted foreground | #3a3b45darkslategray | #babbc5silver |
| Accent | #f3b3faplum | #f3b3faplum |
| Accent foreground | #680872purple | #680872purple |
| Destructive | #ca4b02chocolate | #f75c02orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cfb3fathistle | #cfb3fathistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.64:1 | AAA |
| Text on card | 20.64:1 | AAA |
| Primary button | 8.07:1 | AAA |
| Secondary button | 8.38:1 | AAA |
| Muted text | 8.14:1 | AAA |
| Accent | 6.74:1 | AA |
| Destructive | 4.63:1 | AA |
| Text on background | 19.75:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 8.07:1 | AAA |
| Secondary button | 8.38:1 | AAA |
| Muted text | 8.53:1 | AAA |
| Accent | 6.74:1 | AA |
| Destructive | 6.51:1 | AA |
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.097 0.026 305.669);
--muted: oklch(0.897 0.004 281.214);
--muted-foreground: oklch(0.356 0.018 280.431);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.097 0.026 305.669);
--card: oklch(1 0 180);
--card-foreground: oklch(0.097 0.026 305.669);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.815 0.102 302.515);
--primary-foreground: oklch(0.296 0.157 290.879);
--secondary: oklch(0.806 0.091 279.237);
--secondary-foreground: oklch(0.274 0.158 266.578);
--accent: oklch(0.848 0.118 323.144);
--accent-foreground: oklch(0.374 0.169 323.21);
--destructive: oklch(0.579 0.174 41.894);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.815 0.102 302.515);
--chart-1: oklch(0.815 0.102 302.515);
--chart-2: oklch(0.806 0.091 279.237);
--chart-3: oklch(0.848 0.118 323.144);
--chart-4: oklch(0.842 0.073 279.755);
--chart-5: oklch(0.813 0.106 302.444);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.013 304.863);
--foreground: oklch(0.991 0.002 304.312);
--muted: oklch(0.244 0.006 280.905);
--muted-foreground: oklch(0.793 0.015 280.986);
--popover: oklch(0.123 0.013 304.863);
--popover-foreground: oklch(0.991 0.002 304.312);
--card: oklch(0.123 0.013 304.863);
--card-foreground: oklch(0.991 0.002 304.312);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.815 0.102 302.515);
--primary-foreground: oklch(0.296 0.157 290.879);
--secondary: oklch(0.806 0.091 279.237);
--secondary-foreground: oklch(0.274 0.158 266.578);
--accent: oklch(0.848 0.118 323.144);
--accent-foreground: oklch(0.374 0.169 323.21);
--destructive: oklch(0.672 0.204 41.387);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.815 0.102 302.515);
--chart-1: oklch(0.815 0.102 302.515);
--chart-2: oklch(0.806 0.091 279.237);
--chart-3: oklch(0.848 0.118 323.144);
--chart-4: oklch(0.842 0.073 279.755);
--chart-5: oklch(0.813 0.106 302.444);
}