Insidious is a shadcn/ui theme built around a purple primary color (#862877) with pink accents (#862849). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the purple primary (#862877) on a purple-tinted background (#0f050e).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #0f050eblack |
| Foreground | #090208black | #fdfcfdwhite |
| Card | #fdfcfdwhite | #0f050eblack |
| Card foreground | #090208black | #fdfcfdwhite |
| Popover | #fdfcfdwhite | #0f050eblack |
| Popover foreground | #090208black | #fdfcfdwhite |
| Primary | #862877purple | #862877purple |
| Primary foreground | #f8e7f5lavenderblush | #f8e7f5lavenderblush |
| Secondary | #652886rebeccapurple | #652886rebeccapurple |
| Secondary foreground | #f2e7f8lavender | #f2e7f8lavender |
| Muted | #e8e7e9lavender | #171618black |
| Muted foreground | #403e42darkslategray | #c0bdc1silver |
| Accent | #862849brown | #862849brown |
| Accent foreground | #f8e7edlinen | #f8e7edlinen |
| Destructive | #b32c14firebrick | #ea5c43tomato |
| Destructive foreground | #fefbfasnow | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #862877purple | #862877purple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.00:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 6.88:1 | AA |
| Secondary button | 8.00:1 | AAA |
| Muted text | 8.57:1 | AAA |
| Accent | 7.34:1 | AAA |
| Destructive | 6.21:1 | AA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 6.88:1 | AA |
| Secondary button | 8.00:1 | AAA |
| Muted text | 9.71:1 | AAA |
| Accent | 7.34:1 | AAA |
| Destructive | 6.10:1 | AA |
Paste this into your globals.css to use Insidious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 330.281);
--foreground: oklch(0.106 0.029 331.581);
--muted: oklch(0.929 0.004 314.195);
--muted-foreground: oklch(0.367 0.007 314.111);
--popover: oklch(0.992 0.003 330.281);
--popover-foreground: oklch(0.106 0.029 331.581);
--card: oklch(0.992 0.003 330.281);
--card-foreground: oklch(0.106 0.029 331.581);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.449 0.157 334.481);
--primary-foreground: oklch(0.946 0.026 330.592);
--secondary: oklch(0.41 0.154 311.279);
--secondary-foreground: oklch(0.943 0.025 314.075);
--accent: oklch(0.429 0.13 2.982);
--accent-foreground: oklch(0.944 0.019 354.16);
--destructive: oklch(0.505 0.175 32.256);
--destructive-foreground: oklch(0.991 0.004 29.481);
--ring: oklch(0.449 0.157 334.481);
--chart-1: oklch(0.449 0.157 334.481);
--chart-2: oklch(0.41 0.154 311.279);
--chart-3: oklch(0.429 0.13 2.982);
--chart-4: oklch(0.435 0.164 311.228);
--chart-5: oklch(0.452 0.164 334.665);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.026 332.018);
--foreground: oklch(0.992 0.002 330.269);
--muted: oklch(0.202 0.006 314.054);
--muted-foreground: oklch(0.803 0.006 314.179);
--popover: oklch(0.139 0.026 332.018);
--popover-foreground: oklch(0.992 0.002 330.269);
--card: oklch(0.139 0.026 332.018);
--card-foreground: oklch(0.992 0.002 330.269);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.449 0.157 334.481);
--primary-foreground: oklch(0.946 0.026 330.592);
--secondary: oklch(0.41 0.154 311.279);
--secondary-foreground: oklch(0.943 0.025 314.075);
--accent: oklch(0.429 0.13 2.982);
--accent-foreground: oklch(0.944 0.019 354.16);
--destructive: oklch(0.655 0.181 32.158);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.449 0.157 334.481);
--chart-1: oklch(0.449 0.157 334.481);
--chart-2: oklch(0.41 0.154 311.279);
--chart-3: oklch(0.429 0.13 2.982);
--chart-4: oklch(0.435 0.164 311.228);
--chart-5: oklch(0.452 0.164 334.665);
}