Capricious Purple Orangutan is a shadcn/ui theme built around a vivid purple primary color (#c111d4) with vivid pink accents (#d41186). The light mode uses a neutral background (#fcf7fd). Dark mode keeps the vivid purple primary (#c111d4) on a purple-tinted background (#0a040b).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7fdghostwhite | #0a040bblack |
| Foreground | #0c030dblack | #fbf9fbsnow |
| Card | #fcf7fdghostwhite | #0a040bblack |
| Card foreground | #0c030dblack | #fbf9fbsnow |
| Popover | #fcf7fdghostwhite | #0a040bblack |
| Popover foreground | #0c030dblack | #fbf9fbsnow |
| Primary | #c111d4darkviolet | #c111d4darkviolet |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #5f11d4blueviolet | #5f11d4blueviolet |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d9cfe8gainsboro | #211730black |
| Muted foreground | #594e6adimgray | #a095b1darkgray |
| Accent | #d41186mediumvioletred | #d41186mediumvioletred |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #b5480dsienna | #db570fchocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #eeedeewhitesmoke | #1a191ablack |
| Input | #eeedeewhitesmoke | #1a191ablack |
| Ring | #c111d4darkviolet | #c111d4darkviolet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.21:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 4.88:1 | AA |
| Secondary button | 8.31:1 | AAA |
| Muted text | 5.14:1 | AA |
| Accent | 4.95:1 | AA |
| Destructive | 5.39:1 | AA |
| Text on background | 19.33:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 4.88:1 | AA |
| Secondary button | 8.31:1 | AAA |
| Muted text | 6.02:1 | AA |
| Accent | 4.95:1 | AA |
| Destructive | 3.90:1 | AA Large |
Paste this into your globals.css to use Capricious Purple Orangutan in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.009 322.664);
--foreground: oklch(0.121 0.034 324.436);
--muted: oklch(0.87 0.036 303.758);
--muted-foreground: oklch(0.446 0.046 302.843);
--popover: oklch(0.982 0.009 322.664);
--popover-foreground: oklch(0.121 0.034 324.436);
--card: oklch(0.982 0.009 322.664);
--card-foreground: oklch(0.121 0.034 324.436);
--border: oklch(0.946 0.002 322.634);
--input: oklch(0.946 0.002 322.634);
--primary: oklch(0.585 0.269 323.077);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.457 0.25 289.444);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.576 0.232 352.336);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.541 0.155 42.696);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.585 0.269 323.077);
--chart-1: oklch(0.585 0.269 323.077);
--chart-2: oklch(0.457 0.25 289.444);
--chart-3: oklch(0.576 0.232 352.336);
--chart-4: oklch(0.478 0.263 289.294);
--chart-5: oklch(0.59 0.274 323.002);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.022 323.895);
--foreground: oklch(0.984 0.004 322.642);
--muted: oklch(0.231 0.048 301.147);
--muted-foreground: oklch(0.69 0.042 303.48);
--popover: oklch(0.125 0.022 323.895);
--popover-foreground: oklch(0.984 0.004 322.642);
--card: oklch(0.125 0.022 323.895);
--card-foreground: oklch(0.984 0.004 322.642);
--border: oklch(0.214 0.004 322.695);
--input: oklch(0.214 0.004 322.695);
--primary: oklch(0.585 0.269 323.077);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.457 0.25 289.444);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.576 0.232 352.336);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.621 0.181 42.346);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.585 0.269 323.077);
--chart-1: oklch(0.585 0.269 323.077);
--chart-2: oklch(0.457 0.25 289.444);
--chart-3: oklch(0.576 0.232 352.336);
--chart-4: oklch(0.478 0.263 289.294);
--chart-5: oklch(0.59 0.274 323.002);
}