Colossal Bluish Purple is a shadcn/ui theme built around a vivid violet primary color (#673de6) with vivid purple accents (#bc3de6). The light mode uses a neutral background (#f9f8fc). Dark mode keeps the vivid violet primary (#673de6) on a violet-tinted background (#09070d).
| Token | Light | Dark |
|---|---|---|
| Background | #f9f8fcghostwhite | #09070dblack |
| Foreground | #05030cblack | #ffffffwhite |
| Card | #f9f8fcghostwhite | #09070dblack |
| Card foreground | #05030cblack | #ffffffwhite |
| Popover | #f9f8fcghostwhite | #09070dblack |
| Popover foreground | #05030cblack | #ffffffwhite |
| Primary | #673de6slateblue | #673de6slateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #3d67e6royalblue | #3d67e6royalblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d3d8e9gainsboro | #161c2cblack |
| Muted foreground | #454a59darkslategray | #a6abbadarkgray |
| Accent | #bc3de6mediumorchid | #bc3de6mediumorchid |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ab1c12firebrick | #ea4034tomato |
| Destructive foreground | #fef2f1seashell | #ffffffwhite |
| Border | #eae9eclavender | #18171cblack |
| Input | #eae9eclavender | #18171cblack |
| Ring | #673de6slateblue | #673de6slateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.37:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 6.20:1 | AA |
| Secondary button | 4.90:1 | AA |
| Muted text | 6.22:1 | AA |
| Accent | 4.25:1 | AA Large |
| Destructive | 6.61:1 | AA |
| Text on background | 20.05:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 6.20:1 | AA |
| Secondary button | 4.90:1 | AA |
| Muted text | 7.41:1 | AAA |
| Accent | 4.25:1 | AA Large |
| Destructive | 3.98:1 | AA Large |
Paste this into your globals.css to use Colossal Bluish Purple in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.005 297.73);
--foreground: oklch(0.111 0.027 297.219);
--muted: oklch(0.884 0.023 271.147);
--muted-foreground: oklch(0.41 0.027 270.689);
--popover: oklch(0.981 0.005 297.73);
--popover-foreground: oklch(0.111 0.027 297.219);
--card: oklch(0.981 0.005 297.73);
--card-foreground: oklch(0.111 0.027 297.219);
--border: oklch(0.935 0.005 297.73);
--input: oklch(0.935 0.005 297.73);
--primary: oklch(0.518 0.236 286.27);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.558 0.198 266.102);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.614 0.25 316.065);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.478 0.178 29.556);
--destructive-foreground: oklch(0.97 0.013 22.362);
--ring: oklch(0.518 0.236 286.27);
--chart-1: oklch(0.518 0.236 286.27);
--chart-2: oklch(0.558 0.198 266.102);
--chart-3: oklch(0.614 0.25 316.065);
--chart-4: oklch(0.586 0.184 266.778);
--chart-5: oklch(0.516 0.243 285.586);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.134 0.015 297.005);
--foreground: oklch(1 0 180);
--muted: oklch(0.228 0.033 269.554);
--muted-foreground: oklch(0.741 0.023 271.098);
--popover: oklch(0.134 0.015 297.005);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.134 0.015 297.005);
--card-foreground: oklch(1 0 180);
--border: oklch(0.209 0.009 297.046);
--input: oklch(0.209 0.009 297.046);
--primary: oklch(0.518 0.236 286.27);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.558 0.198 266.102);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.614 0.25 316.065);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.622 0.208 28.71);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.518 0.236 286.27);
--chart-1: oklch(0.518 0.236 286.27);
--chart-2: oklch(0.558 0.198 266.102);
--chart-3: oklch(0.614 0.25 316.065);
--chart-4: oklch(0.586 0.184 266.778);
--chart-5: oklch(0.516 0.243 285.586);
}