High is a shadcn/ui theme built around a purple primary color (#be50b7) with teal accents (#50b7be). The light mode uses a neutral background (#fcf7fc). Dark mode keeps the purple primary (#be50b7) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7fcsnow | #000000black |
| Foreground | #090208black | #fbf9fbsnow |
| Card | #fbf4fbghostwhite | #030303black |
| Card foreground | #040104black | #fdfcfdwhite |
| Popover | #fcf7fcsnow | #000000black |
| Popover foreground | #090208black | #fbf9fbsnow |
| Primary | #be50b7mediumorchid | #be50b7mediumorchid |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #b7be50darkkhaki | #b7be50darkkhaki |
| Secondary foreground | #2e3012darkslategray | #2e3012darkslategray |
| Muted | #eaebdbbeige | #232414black |
| Muted foreground | #505049darkslategray | #b6b6afdarkgray |
| Accent | #50b7bemediumturquoise | #50b7bemediumturquoise |
| Accent foreground | #122e30darkslategray | #122e30darkslategray |
| Destructive | #66120amaroon | #e82817orangered |
| Destructive foreground | #f7b2ablightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #be50b7mediumorchid | #be50b7mediumorchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.45:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 4.17:1 | AA Large |
| Secondary button | 6.79:1 | AA |
| Muted text | 6.73:1 | AA |
| Accent | 6.06:1 | AA |
| Destructive | 7.19:1 | AAA |
| Text on background | 20.04:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 4.17:1 | AA Large |
| Secondary button | 6.79:1 | AA |
| Muted text | 7.70:1 | AAA |
| Accent | 6.06:1 | AA |
| Destructive | 4.41:1 | AA Large |
Paste this into your globals.css to use High in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.008 327.627);
--foreground: oklch(0.107 0.03 329.209);
--muted: oklch(0.935 0.022 109.906);
--muted-foreground: oklch(0.43 0.012 110.008);
--popover: oklch(0.982 0.008 327.627);
--popover-foreground: oklch(0.107 0.03 329.209);
--card: oklch(0.974 0.012 327.668);
--card-foreground: oklch(0.085 0.024 329.209);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.61 0.187 330.239);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.775 0.134 112.654);
--secondary-foreground: oklch(0.301 0.048 112.391);
--accent: oklch(0.722 0.095 201.705);
--accent-foreground: oklch(0.282 0.034 201.62);
--destructive: oklch(0.334 0.119 29.832);
--destructive-foreground: oklch(0.826 0.082 24.823);
--ring: oklch(0.61 0.187 330.239);
--chart-1: oklch(0.61 0.187 330.239);
--chart-2: oklch(0.775 0.134 112.654);
--chart-3: oklch(0.722 0.095 201.705);
--chart-4: oklch(0.789 0.128 112.426);
--chart-5: oklch(0.612 0.197 330.369);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.984 0.004 327.589);
--muted: oklch(0.255 0.028 111.491);
--muted-foreground: oklch(0.775 0.011 109.734);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.984 0.004 327.589);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.002 327.567);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.61 0.187 330.239);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.775 0.134 112.654);
--secondary-foreground: oklch(0.301 0.048 112.391);
--accent: oklch(0.722 0.095 201.705);
--accent-foreground: oklch(0.282 0.034 201.62);
--destructive: oklch(0.599 0.226 30.073);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.61 0.187 330.239);
--chart-1: oklch(0.61 0.187 330.239);
--chart-2: oklch(0.775 0.134 112.654);
--chart-3: oklch(0.722 0.095 201.705);
--chart-4: oklch(0.789 0.128 112.426);
--chart-5: oklch(0.612 0.197 330.369);
}