High is a shadcn/ui theme built around a light violet primary color (#d6c3e5) with light purple accents (#e5c3e2). The light mode uses a neutral background (#ffffff). Dark mode keeps the light violet primary (#d6c3e5) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #0b0410black | #ffffffwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #08030cblack | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #0b0410black | #ffffffwhite |
| Primary | #d6c3e5thistle | #d6c3e5thistle |
| Primary foreground | #3e2452darkslategray | #3e2452darkslategray |
| Secondary | #c6c3e5thistle | #c6c3e5thistle |
| Secondary foreground | #282452midnightblue | #282452midnightblue |
| Muted | #dad8eegainsboro | #131127black |
| Muted foreground | #46454adarkslategray | #b6b5basilver |
| Accent | #e5c3e2thistle | #e5c3e2thistle |
| Accent foreground | #52244edarkslategray | #52244edarkslategray |
| Destructive | #80210amaroon | #ef552etomato |
| Destructive foreground | #facdc1peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d6c3e5thistle | #d6c3e5thistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 8.09:1 | AAA |
| Secondary button | 8.39:1 | AAA |
| Muted text | 6.81:1 | AA |
| Accent | 7.66:1 | AAA |
| Destructive | 6.79:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.09:1 | AAA |
| Secondary button | 8.39:1 | AAA |
| Muted text | 9.04:1 | AAA |
| Accent | 7.66:1 | AAA |
| Destructive | 3.49:1 | AA Large |
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.13 0.032 311.756);
--muted: oklch(0.891 0.029 289.625);
--muted-foreground: oklch(0.393 0.007 289.903);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.13 0.032 311.756);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.117 0.028 313.331);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.843 0.051 311.239);
--primary-foreground: oklch(0.316 0.084 309.329);
--secondary: oklch(0.829 0.047 289.151);
--secondary-foreground: oklch(0.29 0.081 283.936);
--accent: oklch(0.855 0.056 328.727);
--accent-foreground: oklch(0.341 0.091 330.577);
--destructive: oklch(0.4 0.133 34.33);
--destructive-foreground: oklch(0.884 0.054 34.366);
--ring: oklch(0.843 0.051 311.239);
--chart-1: oklch(0.843 0.051 311.239);
--chart-2: oklch(0.829 0.047 289.151);
--chart-3: oklch(0.855 0.056 328.727);
--chart-4: oklch(0.86 0.038 289.391);
--chart-5: oklch(0.841 0.055 311.201);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.194 0.042 285.558);
--muted-foreground: oklch(0.776 0.006 290.101);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.843 0.051 311.239);
--primary-foreground: oklch(0.316 0.084 309.329);
--secondary: oklch(0.829 0.047 289.151);
--secondary-foreground: oklch(0.29 0.081 283.936);
--accent: oklch(0.855 0.056 328.727);
--accent-foreground: oklch(0.341 0.091 330.577);
--destructive: oklch(0.653 0.197 34.938);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.843 0.051 311.239);
--chart-1: oklch(0.843 0.051 311.239);
--chart-2: oklch(0.829 0.047 289.151);
--chart-3: oklch(0.855 0.056 328.727);
--chart-4: oklch(0.86 0.038 289.391);
--chart-5: oklch(0.841 0.055 311.201);
}