Blurple One is a shadcn/ui theme built around an indigo primary color (#6463b6) with teal accents (#67ceb9). The light mode uses an indigo-tinted background (#f3f3fb). Dark mode keeps the indigo primary (#6463b6) on an indigo-tinted background (#101018).
| Token | Light | Dark |
|---|---|---|
| Background | #f3f3fbwhitesmoke | #101018black |
| Foreground | #101018black | #f3f3fbwhitesmoke |
| Card | #f7f7fdghostwhite | #05050ablack |
| Card foreground | #040410black | #ffffffwhite |
| Popover | #f7f7fdghostwhite | #05050ablack |
| Popover foreground | #040410black | #ffffffwhite |
| Primary | #6463b6slateblue | #6463b6slateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #a1a0eblightsteelblue | #a1a0eblightsteelblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #e1e8eflavender | #10171eblack |
| Muted foreground | #545454dimgray | #abababdarkgray |
| Accent | #67ceb9mediumaquamarine | #67ceb9mediumaquamarine |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #e56666indianred | #e56666indianred |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e0e0e1gainsboro | #212022black |
| Input | #e0e0e1gainsboro | #212022black |
| Ring | #6463b6slateblue | #6463b6slateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.20:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 5.25:1 | AA |
| Secondary button | 8.74:1 | AAA |
| Muted text | 6.12:1 | AA |
| Accent | 1.89:1 | Fail |
| Destructive | 3.26:1 | AA Large |
| Text on background | 17.12:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 5.25:1 | AA |
| Secondary button | 8.74:1 | AAA |
| Muted text | 7.87:1 | AAA |
| Accent | 1.89:1 | Fail |
| Destructive | 6.41:1 | AA |
Paste this into your globals.css to use Blurple One in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.968 0.01 286.975);
--foreground: oklch(0.177 0.016 284.599);
--muted: oklch(0.927 0.012 249.77);
--muted-foreground: oklch(0.446 0 180);
--popover: oklch(0.978 0.007 287.03);
--popover-foreground: oklch(0.119 0.03 282.007);
--card: oklch(0.978 0.007 287.03);
--card-foreground: oklch(0.119 0.03 282.007);
--border: oklch(0.906 0.002 287.136);
--input: oklch(0.906 0.002 287.136);
--primary: oklch(0.54 0.127 282.043);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.735 0.108 284.037);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.784 0.102 178.436);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.666 0.159 22.345);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.54 0.127 282.043);
--chart-1: oklch(0.54 0.127 282.043);
--chart-2: oklch(0.735 0.108 284.037);
--chart-3: oklch(0.784 0.102 178.436);
--chart-4: oklch(0.771 0.092 284.628);
--chart-5: oklch(0.533 0.137 281.441);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.178 0.015 285.53);
--foreground: oklch(0.966 0.011 286.199);
--muted: oklch(0.2 0.018 250.409);
--muted-foreground: oklch(0.741 0 171.254);
--popover: oklch(0.121 0.012 285.324);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.012 285.324);
--card-foreground: oklch(1 0 180);
--border: oklch(0.246 0.002 286.984);
--input: oklch(0.246 0.002 286.984);
--primary: oklch(0.54 0.127 282.043);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.736 0.108 283.961);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.783 0.102 178.155);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.666 0.158 22.312);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.54 0.127 282.043);
--chart-1: oklch(0.54 0.127 282.043);
--chart-2: oklch(0.736 0.108 283.961);
--chart-3: oklch(0.783 0.102 178.155);
--chart-4: oklch(0.771 0.093 284.557);
--chart-5: oklch(0.533 0.137 281.441);
}