Delighted Chimp Hamster is a shadcn/ui theme built around a muted deep purple primary color (#291926) with muted purple accents (#c3b6c0). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the muted deep purple primary (#291926) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fbsnow | #000000black |
| Foreground | #140511black | #f9f6f8whitesmoke |
| Card | #fbf4f9lavenderblush | #030303black |
| Card foreground | #10040dblack | #fbf9fasnow |
| Popover | #fbf4f9lavenderblush | #030303black |
| Popover foreground | #10040dblack | #fbf9fasnow |
| Primary | #291926black | #291926black |
| Primary foreground | #cba9c4silver | #cba9c4silver |
| Secondary | #cecacdlightgrey | #272026darkslategray |
| Secondary foreground | #353134darkslategray | #c3b7c0silver |
| Muted | #f3e8f0whitesmoke | #170c15black |
| Muted foreground | #473944darkslategray | #c6b8c3silver |
| Accent | #c3b6c0silver | #433240darkslategray |
| Accent foreground | #272026darkslategray | #dacdd7lightgrey |
| Destructive | #ad4000saddlebrown | #ff711fdarkorange |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e9e7e9lavender | #292428darkslategray |
| Input | #e9e7e9lavender | #292428darkslategray |
| Ring | #291926black | #291926black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.81:1 | AAA |
| Text on card | 18.57:1 | AAA |
| Primary button | 7.93:1 | AAA |
| Secondary button | 7.89:1 | AAA |
| Muted text | 9.06:1 | AAA |
| Accent | 8.16:1 | AAA |
| Destructive | 5.98:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.72:1 | AAA |
| Primary button | 7.93:1 | AAA |
| Secondary button | 8.19:1 | AAA |
| Muted text | 10.02:1 | AAA |
| Accent | 7.74:1 | AAA |
| Destructive | 7.62:1 | AAA |
Paste this into your globals.css to use Delighted Chimp Hamster in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.006 332.716);
--foreground: oklch(0.15 0.035 335.466);
--muted: oklch(0.941 0.017 332.887);
--muted-foreground: oklch(0.363 0.027 333.71);
--popover: oklch(0.974 0.01 332.768);
--popover-foreground: oklch(0.137 0.031 334.82);
--card: oklch(0.974 0.01 332.768);
--card-foreground: oklch(0.137 0.031 334.82);
--border: oklch(0.93 0.004 332.685);
--input: oklch(0.93 0.004 332.685);
--primary: oklch(0.24 0.035 334.707);
--primary-foreground: oklch(0.773 0.054 333.661);
--secondary: oklch(0.843 0.006 332.732);
--secondary-foreground: oklch(0.318 0.008 333.001);
--accent: oklch(0.791 0.021 333.017);
--accent-foreground: oklch(0.255 0.015 333.491);
--destructive: oklch(0.517 0.156 42.097);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.24 0.035 334.707);
--chart-1: oklch(0.24 0.035 334.707);
--chart-2: oklch(0.843 0.006 332.732);
--chart-3: oklch(0.791 0.021 333.017);
--chart-4: oklch(0.867 0.005 332.711);
--chart-5: oklch(0.239 0.039 334.944);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.976 0.004 332.685);
--muted: oklch(0.175 0.025 334.683);
--muted-foreground: oklch(0.798 0.022 333.035);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.984 0.003 332.662);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.984 0.003 332.662);
--border: oklch(0.267 0.009 333.154);
--input: oklch(0.267 0.009 333.154);
--primary: oklch(0.24 0.035 334.707);
--primary-foreground: oklch(0.773 0.054 333.661);
--secondary: oklch(0.255 0.013 333.404);
--secondary-foreground: oklch(0.791 0.019 332.977);
--accent: oklch(0.342 0.034 334.076);
--accent-foreground: oklch(0.862 0.02 332.97);
--destructive: oklch(0.711 0.193 44.911);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.24 0.035 334.707);
--chart-1: oklch(0.24 0.035 334.707);
--chart-2: oklch(0.255 0.013 333.404);
--chart-3: oklch(0.342 0.034 334.076);
--chart-4: oklch(0.286 0.016 333.445);
--chart-5: oklch(0.239 0.039 334.944);
}