Outrageous is a shadcn/ui theme built around a vivid indigo primary color (#563cec) with vivid violet accents (#ae3cec). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the vivid indigo primary (#563cec) on a neutral background (#020203).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f8fcghostwhite | #020203black |
| Foreground | #030208black | #f9f8fcghostwhite |
| Card | #f8f8fcghostwhite | #020203black |
| Card foreground | #030208black | #f9f8fcghostwhite |
| Popover | #f8f8fcghostwhite | #020203black |
| Popover foreground | #030208black | #f9f8fcghostwhite |
| Primary | #563cecslateblue | #563cecslateblue |
| Primary foreground | #f7f6feghostwhite | #f7f6feghostwhite |
| Secondary | #3c7aecroyalblue | #3c7aecroyalblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e2e8f3lavender | #0c121dblack |
| Muted foreground | #4d4e51darkslategray | #aeafb2darkgray |
| Accent | #ae3cecmediumorchid | #ae3cecmediumorchid |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #b81e0afirebrick | #df240corangered |
| Destructive foreground | #fef6f5lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #563cecslateblue | #563cecslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 6.01:1 | AA |
| Secondary button | 4.06:1 | AA Large |
| Muted text | 6.77:1 | AA |
| Accent | 4.50:1 | AA |
| Destructive | 6.10:1 | AA |
| Text on background | 19.63:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 6.01:1 | AA |
| Secondary button | 4.06:1 | AA Large |
| Muted text | 8.55:1 | AAA |
| Accent | 4.50:1 | AA |
| Destructive | 4.77:1 | AA |
Paste this into your globals.css to use Outrageous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.006 293.186);
--foreground: oklch(0.097 0.021 291.56);
--muted: oklch(0.93 0.016 263.017);
--muted-foreground: oklch(0.425 0.006 263.027);
--popover: oklch(0.98 0.006 293.186);
--popover-foreground: oklch(0.097 0.021 291.56);
--card: oklch(0.98 0.006 293.186);
--card-foreground: oklch(0.097 0.021 291.56);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.509 0.246 279.888);
--primary-foreground: oklch(0.976 0.011 293.091);
--secondary: oklch(0.599 0.184 261.428);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.6 0.252 310.481);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.504 0.19 30.895);
--destructive-foreground: oklch(0.98 0.009 26.501);
--ring: oklch(0.509 0.246 279.888);
--chart-1: oklch(0.509 0.246 279.888);
--chart-2: oklch(0.599 0.184 261.428);
--chart-3: oklch(0.6 0.252 310.481);
--chart-4: oklch(0.625 0.171 261.538);
--chart-5: oklch(0.507 0.253 279.153);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.009 292.464);
--foreground: oklch(0.981 0.005 293.212);
--muted: oklch(0.182 0.024 262.407);
--muted-foreground: oklch(0.754 0.005 263.042);
--popover: oklch(0.084 0.009 292.464);
--popover-foreground: oklch(0.981 0.005 293.212);
--card: oklch(0.084 0.009 292.464);
--card-foreground: oklch(0.981 0.005 293.212);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.509 0.246 279.888);
--primary-foreground: oklch(0.976 0.011 293.091);
--secondary: oklch(0.599 0.184 261.428);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.6 0.252 310.481);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.58 0.221 30.834);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.509 0.246 279.888);
--chart-1: oklch(0.509 0.246 279.888);
--chart-2: oklch(0.599 0.184 261.428);
--chart-3: oklch(0.6 0.252 310.481);
--chart-4: oklch(0.625 0.171 261.538);
--chart-5: oklch(0.507 0.253 279.153);
}