Human Bainganī is a shadcn/ui theme built around a vivid indigo primary color (#7c70ff) with vivid light indigo accents (#cac4ff). The light mode uses a neutral background (#f8f9fb). Dark mode keeps the vivid indigo primary (#7c70ff) on an indigo-tinted background (#05040b).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fbghostwhite | #05040bblack |
| Foreground | #15192ablack | #f6f6f9whitesmoke |
| Card | #ffffffwhite | #05040bblack |
| Card foreground | #010104black | #f6f6f9whitesmoke |
| Popover | #ffffffwhite | #05040bblack |
| Popover foreground | #010104black | #f6f6f9whitesmoke |
| Primary | #7c70ffmediumslateblue | #7c70ffmediumslateblue |
| Primary foreground | #f8f9fbghostwhite | #000000black |
| Secondary | #9c94ffmediumpurple | #70acffcornflowerblue |
| Secondary foreground | #f8f9fbghostwhite | #001a3dmidnightblue |
| Muted | #e8eaedlavender | #121417black |
| Muted foreground | #3a414bdarkslategray | #b4bbc5silver |
| Accent | #cac4ffthistle | #c370fforchid |
| Accent foreground | #24003dmidnightblue | #24003dmidnightblue |
| Destructive | #e53030crimson | #e86e2cchocolate |
| Destructive foreground | #f8f9fbghostwhite | #000000black |
| Border | #f2f2f3whitesmoke | #1b1b1dblack |
| Input | #f2f2f3whitesmoke | #1b1b1dblack |
| Ring | #7c70ffmediumslateblue | #7c70ffmediumslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 16.55:1 | AAA |
| Text on card | 20.84:1 | AAA |
| Primary button | 3.54:1 | AA Large |
| Secondary button | 2.46:1 | Fail |
| Muted text | 8.56:1 | AAA |
| Accent | 11.24:1 | AAA |
| Destructive | 4.13:1 | AA Large |
| Text on background | 18.92:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 5.62:1 | AA |
| Secondary button | 7.41:1 | AAA |
| Muted text | 9.54:1 | AAA |
| Accent | 6.21:1 | AA |
| Destructive | 6.66:1 | AA |
Paste this into your globals.css to use Human Bainganī in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.003 264.542);
--foreground: oklch(0.218 0.034 273.181);
--muted: oklch(0.937 0.005 256.673);
--muted-foreground: oklch(0.372 0.02 256.794);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.078 0.015 287.708);
--card: oklch(1 0 180);
--card-foreground: oklch(0.078 0.015 287.708);
--border: oklch(0.96 0.002 290.213);
--input: oklch(0.96 0.002 290.213);
--primary: oklch(0.631 0.205 282.562);
--primary-foreground: oklch(0.982 0.003 264.542);
--secondary: oklch(0.719 0.153 285.279);
--secondary-foreground: oklch(0.982 0.003 264.542);
--accent: oklch(0.845 0.082 289.178);
--accent-foreground: oklch(0.207 0.107 305.196);
--destructive: oklch(0.602 0.216 26.703);
--destructive-foreground: oklch(0.982 0.003 264.542);
--ring: oklch(0.631 0.205 282.562);
--chart-1: oklch(0.631 0.205 282.562);
--chart-2: oklch(0.682 0.167 269.347);
--chart-3: oklch(0.673 0.205 300.074);
--chart-4: oklch(0.734 0.136 265.448);
--chart-5: oklch(0.628 0.211 282.225);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.114 0.019 287.964);
--foreground: oklch(0.973 0.004 290.16);
--muted: oklch(0.19 0.007 256.767);
--muted-foreground: oklch(0.79 0.016 256.725);
--popover: oklch(0.114 0.019 287.964);
--popover-foreground: oklch(0.973 0.004 290.16);
--card: oklch(0.114 0.019 287.964);
--card-foreground: oklch(0.973 0.004 290.16);
--border: oklch(0.222 0.005 289.785);
--input: oklch(0.222 0.005 289.785);
--primary: oklch(0.631 0.205 282.562);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.738 0.137 256.978);
--secondary-foreground: oklch(0.221 0.076 256.255);
--accent: oklch(0.698 0.211 308.858);
--accent-foreground: oklch(0.207 0.107 305.196);
--destructive: oklch(0.673 0.169 45.341);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.631 0.205 282.562);
--chart-1: oklch(0.631 0.205 282.562);
--chart-2: oklch(0.738 0.137 256.978);
--chart-3: oklch(0.698 0.211 308.858);
--chart-4: oklch(0.765 0.121 256.914);
--chart-5: oklch(0.628 0.211 282.225);
}