Outlandish is a shadcn/ui theme built around a vivid light purple primary color (#faa3ec) with vivid light pink accents (#faa3c0). The light mode uses a neutral background (#fdf7fc). Dark mode keeps the vivid light purple primary (#faa3ec) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fcsnow | #000000black |
| Foreground | #0b040ablack | #fbf9fbsnow |
| Card | #fdf7fcsnow | #000000black |
| Card foreground | #0b040ablack | #fbf9fbsnow |
| Popover | #fdf7fcsnow | #000000black |
| Popover foreground | #0b040ablack | #fbf9fbsnow |
| Primary | #faa3ecplum | #faa3ecplum |
| Primary foreground | #660556purple | #660556purple |
| Secondary | #dda3faplum | #dda3faplum |
| Secondary foreground | #460566indigo | #460566indigo |
| Muted | #ebe9eclavender | #151316black |
| Muted foreground | #6a5b71dimgray | #9d8ea4darkgray |
| Accent | #faa3c0lightpink | #faa3c0lightpink |
| Accent foreground | #660525maroon | #660525maroon |
| Destructive | #d13115firebrick | #e83617orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #faa3ecplum | #faa3ecplum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.19:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 6.68:1 | AA |
| Secondary button | 7.25:1 | AAA |
| Muted text | 5.20:1 | AA |
| Accent | 6.85:1 | AA |
| Destructive | 5.05:1 | AA |
| Text on background | 20.04:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 6.68:1 | AA |
| Secondary button | 7.25:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 6.85:1 | AA |
| Destructive | 4.21:1 | AA Large |
Paste this into your globals.css to use Outlandish in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.009 330.938);
--foreground: oklch(0.125 0.024 331.948);
--muted: oklch(0.937 0.004 314.808);
--muted-foreground: oklch(0.493 0.04 314.437);
--popover: oklch(0.982 0.009 330.938);
--popover-foreground: oklch(0.125 0.024 331.948);
--card: oklch(0.982 0.009 330.938);
--card-foreground: oklch(0.125 0.024 331.948);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.824 0.137 332.915);
--primary-foreground: oklch(0.35 0.149 337.019);
--secondary: oklch(0.8 0.134 313.976);
--secondary-foreground: oklch(0.307 0.149 309.526);
--accent: oklch(0.809 0.109 358.259);
--accent-foreground: oklch(0.329 0.126 10.397);
--destructive: oklch(0.564 0.2 32.15);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.824 0.137 332.915);
--chart-1: oklch(0.824 0.137 332.915);
--chart-2: oklch(0.8 0.134 313.976);
--chart-3: oklch(0.809 0.109 358.259);
--chart-4: oklch(0.831 0.113 314.153);
--chart-5: oklch(0.824 0.142 332.98);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.984 0.004 330.872);
--muted: oklch(0.191 0.005 314.687);
--muted-foreground: oklch(0.667 0.037 314.559);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.984 0.004 330.872);
--card: oklch(0 0 0);
--card-foreground: oklch(0.984 0.004 330.872);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.824 0.137 332.915);
--primary-foreground: oklch(0.35 0.149 337.019);
--secondary: oklch(0.8 0.134 313.976);
--secondary-foreground: oklch(0.307 0.149 309.526);
--accent: oklch(0.809 0.109 358.259);
--accent-foreground: oklch(0.329 0.126 10.397);
--destructive: oklch(0.609 0.217 32.116);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.824 0.137 332.915);
--chart-1: oklch(0.824 0.137 332.915);
--chart-2: oklch(0.8 0.134 313.976);
--chart-3: oklch(0.809 0.109 358.259);
--chart-4: oklch(0.831 0.113 314.153);
--chart-5: oklch(0.824 0.142 332.98);
}