Grape Hyacinth Grouse is a shadcn/ui theme built around an indigo primary color (#4a35d4) with muted light indigo accents (#d0cede). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the indigo primary (#4a35d4) on a neutral background (#020104).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #020104black |
| Foreground | #05030cblack | #fcfcfdwhite |
| Card | #fbfbfeghostwhite | #020104black |
| Card foreground | #05030cblack | #fcfcfdwhite |
| Popover | #fbfbfeghostwhite | #020104black |
| Popover foreground | #05030cblack | #fcfcfdwhite |
| Primary | #4a35d4slateblue | #4a35d4slateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e1e0e6gainsboro | #201e29black |
| Secondary foreground | #444252darkslategray | #b5b2c7silver |
| Muted | #cec9e8thistle | #1b1736midnightblue |
| Muted foreground | #3a3847darkslategray | #bab8c7silver |
| Accent | #d0cedelightgrey | #2c2843darkslategray |
| Accent foreground | #343149darkslategray | #c6c2dbthistle |
| Destructive | #c0330cfirebrick | #f14f22orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e7e7e9lavender | #1b1b1dblack |
| Input | #e7e7e9lavender | #1b1b1dblack |
| Ring | #4a35d4slateblue | #4a35d4slateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 7.17:1 | AAA |
| Accent | 8.07:1 | AAA |
| Destructive | 5.65:1 | AA |
| Text on background | 20.30:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 8.81:1 | AAA |
| Accent | 8.13:1 | AAA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Grape Hyacinth Grouse in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 292.469);
--foreground: oklch(0.111 0.024 290.342);
--muted: oklch(0.85 0.042 291.59);
--muted-foreground: oklch(0.349 0.026 291.074);
--popover: oklch(0.989 0.004 292.469);
--popover-foreground: oklch(0.111 0.024 290.342);
--card: oklch(0.989 0.004 292.469);
--card-foreground: oklch(0.111 0.024 290.342);
--border: oklch(0.929 0.003 292.481);
--input: oklch(0.929 0.003 292.481);
--primary: oklch(0.468 0.228 278.937);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.909 0.008 292.37);
--secondary-foreground: oklch(0.387 0.027 291.172);
--accent: oklch(0.858 0.022 292.047);
--accent-foreground: oklch(0.327 0.043 289.916);
--destructive: oklch(0.535 0.183 34.542);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.468 0.228 278.937);
--chart-1: oklch(0.468 0.228 278.937);
--chart-2: oklch(0.909 0.008 292.37);
--chart-3: oklch(0.858 0.022 292.047);
--chart-4: oklch(0.934 0.006 292.422);
--chart-5: oklch(0.465 0.236 278.001);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.078 0.016 290.629);
--foreground: oklch(0.991 0.002 292.513);
--muted: oklch(0.227 0.058 286.991);
--muted-foreground: oklch(0.788 0.022 292.025);
--popover: oklch(0.078 0.016 290.629);
--popover-foreground: oklch(0.991 0.002 292.513);
--card: oklch(0.078 0.016 290.629);
--card-foreground: oklch(0.991 0.002 292.513);
--border: oklch(0.222 0.005 292.082);
--input: oklch(0.222 0.005 292.082);
--primary: oklch(0.468 0.228 278.937);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.242 0.022 290.793);
--secondary-foreground: oklch(0.773 0.03 291.803);
--accent: oklch(0.294 0.048 289.202);
--accent-foreground: oklch(0.826 0.034 291.764);
--destructive: oklch(0.648 0.205 35.431);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.468 0.228 278.937);
--chart-1: oklch(0.468 0.228 278.937);
--chart-2: oklch(0.242 0.022 290.793);
--chart-3: oklch(0.294 0.048 289.202);
--chart-4: oklch(0.27 0.026 290.688);
--chart-5: oklch(0.465 0.236 278.001);
}