Light blue purple is a shadcn/ui theme built around a vivid indigo primary color (#6467f2) with vivid light indigo accents (#a2a4fb). The light mode uses a neutral background (#ffffff). Dark mode switches to a cyan primary (#2997c7) on a cyan-tinted background (#060c0e).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #060c0eblack |
| Foreground | #000000black | #ffffffwhite |
| Card | #fcfcfcsnow | #080f11black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #080f11black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #6467f2mediumslateblue | #2997c7steelblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #7e48f2mediumslateblue | #c72997mediumvioletred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dad8ddgainsboro | #141013black |
| Muted foreground | #59585adimgray | #a7a5a6darkgray |
| Accent | #a2a4fblightsteelblue | #97c729yellowgreen |
| Accent foreground | #000000black | #171e06black |
| Destructive | #ff5a3dtomato | #f75a1dorangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e0e1ebgainsboro | #1e1f1fblack |
| Input | #e0e1ebgainsboro | #1e1f1fblack |
| Ring | #ebecfalavender | #2997c7steelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 4.40:1 | AA Large |
| Secondary button | 5.12:1 | AA |
| Muted text | 5.01:1 | AA |
| Accent | 9.23:1 | AAA |
| Destructive | 3.09:1 | AA Large |
| Text on background | 19.70:1 | AAA |
| Text on card | 19.35:1 | AAA |
| Primary button | 3.29:1 | AA Large |
| Secondary button | 5.01:1 | AA |
| Muted text | 7.71:1 | AAA |
| Accent | 8.59:1 | AAA |
| Destructive | 6.44:1 | AA |
Paste this into your globals.css to use Light blue purple in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.886 0.006 303.664);
--muted-foreground: oklch(0.463 0.003 303.544);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.911 0.013 285.071);
--input: oklch(0.912 0.014 281.553);
--primary: oklch(0.589 0.204 277.182);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.563 0.238 291.399);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.751 0.124 281.963);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.685 0.206 32.299);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.946 0.019 285.029);
--chart-1: oklch(0.589 0.204 277.182);
--chart-2: oklch(0.563 0.238 291.399);
--chart-3: oklch(0.885 0.062 302.729);
--chart-4: oklch(0.751 0.124 281.963);
--chart-5: oklch(0.918 0.039 284.026);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.148 0.01 224.086);
--foreground: oklch(1 0 180);
--muted: oklch(0.179 0.008 336.736);
--muted-foreground: oklch(0.723 0.003 335.939);
--popover: oklch(0.161 0.012 225.744);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.161 0.012 225.744);
--card-foreground: oklch(1 0 180);
--border: oklch(0.238 0.001 225.052);
--input: oklch(0.238 0.001 225.052);
--primary: oklch(0.639 0.118 232.021);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.571 0.218 343.524);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.768 0.182 125.759);
--accent-foreground: oklch(0.22 0.042 123.601);
--destructive: oklch(0.67 0.203 38.837);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.639 0.118 232.021);
--chart-1: oklch(0.639 0.118 232.021);
--chart-2: oklch(0.571 0.218 343.524);
--chart-3: oklch(0.768 0.182 125.759);
--chart-4: oklch(0.598 0.228 343.57);
--chart-5: oklch(0.644 0.122 232.523);
}