Maximum Blue Purple Capybara is a shadcn/ui theme built around a light indigo primary color (#aeaee0) with muted light indigo accents (#dcdce5). The light mode uses a neutral background (#fbfbfd). Dark mode keeps the light indigo primary (#aeaee0) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfdghostwhite | #000000black |
| Foreground | #04040cblack | #f9f9fbghostwhite |
| Card | #f8f8fcghostwhite | #030303black |
| Card foreground | #020208black | #fcfcfdwhite |
| Popover | #fbfbfdghostwhite | #000000black |
| Popover foreground | #04040cblack | #f9f9fbghostwhite |
| Primary | #aeaee0lightsteelblue | #aeaee0lightsteelblue |
| Primary foreground | #1a1943midnightblue | #1a1943midnightblue |
| Secondary | #dcdce5gainsboro | #17171cblack |
| Secondary foreground | #3d3d52darkslategray | #ababbadarkgray |
| Muted | #d8d8dfgainsboro | #212027black |
| Muted foreground | #555558dimgray | #a7a7aadarkgray |
| Accent | #dcdce5gainsboro | #17171cblack |
| Accent foreground | #3d3d52darkslategray | #ababbadarkgray |
| Destructive | #83310bsaddlebrown | #ee733atomato |
| Destructive foreground | #fad7c7bisque | #000000black |
| Border | #e0e0e6gainsboro | #22222bdarkslategray |
| Input | #e0e0e6gainsboro | #22222bdarkslategray |
| Ring | #aeaee0lightsteelblue | #aeaee0lightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 5.24:1 | AA |
| Accent | 7.74:1 | AAA |
| Destructive | 6.44:1 | AA |
| Text on background | 19.97:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 7.88:1 | AAA |
| Muted text | 6.70:1 | AA |
| Accent | 7.88:1 | AAA |
| Destructive | 7.14:1 | AAA |
Paste this into your globals.css to use Maximum Blue Purple Capybara in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 287.121);
--foreground: oklch(0.11 0.023 283.043);
--muted: oklch(0.884 0.009 286.988);
--muted-foreground: oklch(0.451 0.006 286.941);
--popover: oklch(0.99 0.003 287.121);
--popover-foreground: oklch(0.11 0.023 283.043);
--card: oklch(0.98 0.005 287.071);
--card-foreground: oklch(0.096 0.02 283.085);
--border: oklch(0.907 0.009 286.985);
--input: oklch(0.907 0.009 286.985);
--primary: oklch(0.768 0.072 285.342);
--primary-foreground: oklch(0.242 0.076 279.843);
--secondary: oklch(0.897 0.012 286.914);
--secondary-foreground: oklch(0.368 0.037 285.218);
--accent: oklch(0.897 0.012 286.914);
--accent-foreground: oklch(0.368 0.037 285.218);
--destructive: oklch(0.427 0.122 41.341);
--destructive-foreground: oklch(0.904 0.045 46.36);
--ring: oklch(0.768 0.072 285.342);
--chart-1: oklch(0.768 0.072 285.342);
--chart-2: oklch(0.897 0.012 286.914);
--chart-3: oklch(0.897 0.012 286.914);
--chart-4: oklch(0.923 0.009 286.985);
--chart-5: oklch(0.764 0.077 285.198);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.982 0.003 287.109);
--muted: oklch(0.248 0.012 286.25);
--muted-foreground: oklch(0.728 0.005 287.045);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.982 0.003 287.109);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.002 287.14);
--border: oklch(0.255 0.017 285.877);
--input: oklch(0.255 0.017 285.877);
--primary: oklch(0.768 0.072 285.342);
--primary-foreground: oklch(0.242 0.076 279.843);
--secondary: oklch(0.207 0.01 286.252);
--secondary-foreground: oklch(0.746 0.022 286.625);
--accent: oklch(0.207 0.01 286.252);
--accent-foreground: oklch(0.746 0.022 286.625);
--destructive: oklch(0.691 0.167 43.473);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.768 0.072 285.342);
--chart-1: oklch(0.768 0.072 285.342);
--chart-2: oklch(0.207 0.01 286.252);
--chart-3: oklch(0.207 0.01 286.252);
--chart-4: oklch(0.237 0.013 286.162);
--chart-5: oklch(0.764 0.077 285.198);
}