Reliable Berry Popsicle is a shadcn/ui theme built around a purple primary color (#d3a6cc) with muted light purple accents (#d6ccd4). The light mode uses a neutral background (#fdf7fc). Dark mode keeps the purple primary (#d3a6cc) on a neutral background (#040103).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fcsnow | #040103black |
| Foreground | #0d030bblack | #ffffffwhite |
| Card | #fbf3falavenderblush | #070307black |
| Card foreground | #080207black | #ffffffwhite |
| Popover | #fbf3falavenderblush | #070307black |
| Popover foreground | #080207black | #ffffffwhite |
| Primary | #d3a6ccplum | #d3a6ccplum |
| Primary foreground | #30182cdarkslategray | #30182cdarkslategray |
| Secondary | #d6ccd4lightgrey | #332431darkslategray |
| Secondary foreground | #3e323cdarkslategray | #cfbacbthistle |
| Muted | #f3e3f0lavender | #1c0c1ablack |
| Muted foreground | #675664dimgray | #a998a6darkgray |
| Accent | #d6ccd4lightgrey | #332431darkslategray |
| Accent foreground | #3e323cdarkslategray | #cfbacbthistle |
| Destructive | #d53e0borangered | #e4420corangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #eae6e9lavender | #1c171bblack |
| Input | #eae6e9lavender | #1c171bblack |
| Ring | #d3a6ccplum | #d3a6ccplum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.21:1 | AAA |
| Text on card | 18.93:1 | AAA |
| Primary button | 7.82:1 | AAA |
| Secondary button | 7.79:1 | AAA |
| Muted text | 5.49:1 | AA |
| Accent | 7.79:1 | AAA |
| Destructive | 4.64:1 | AA |
| Text on background | 20.74:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 7.82:1 | AAA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 6.90:1 | AA |
| Accent | 8.05:1 | AAA |
| Destructive | 4.14:1 | AA Large |
Paste this into your globals.css to use Reliable Berry Popsicle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.008 330.934);
--foreground: oklch(0.122 0.031 332.431);
--muted: oklch(0.931 0.025 331.174);
--muted-foreground: oklch(0.474 0.031 331.678);
--popover: oklch(0.973 0.012 330.992);
--popover-foreground: oklch(0.107 0.027 332.007);
--card: oklch(0.973 0.012 330.992);
--card-foreground: oklch(0.107 0.027 332.007);
--border: oklch(0.929 0.006 330.914);
--input: oklch(0.929 0.006 330.914);
--primary: oklch(0.778 0.073 332.028);
--primary-foreground: oklch(0.25 0.051 333.366);
--secondary: oklch(0.856 0.016 331.071);
--secondary-foreground: oklch(0.334 0.025 331.782);
--accent: oklch(0.856 0.016 331.071);
--accent-foreground: oklch(0.334 0.025 331.782);
--destructive: oklch(0.582 0.195 35.796);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.778 0.073 332.028);
--chart-1: oklch(0.778 0.073 332.028);
--chart-2: oklch(0.856 0.016 331.071);
--chart-3: oklch(0.856 0.016 331.071);
--chart-4: oklch(0.88 0.013 331.022);
--chart-5: oklch(0.777 0.079 332.132);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.016 331.684);
--foreground: oklch(1 0 180);
--muted: oklch(0.186 0.036 333.242);
--muted-foreground: oklch(0.699 0.028 331.356);
--popover: oklch(0.109 0.02 331.684);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.109 0.02 331.684);
--card-foreground: oklch(1 0 180);
--border: oklch(0.213 0.01 331.459);
--input: oklch(0.213 0.01 331.459);
--primary: oklch(0.778 0.073 332.028);
--primary-foreground: oklch(0.25 0.051 333.366);
--secondary: oklch(0.282 0.032 332.288);
--secondary-foreground: oklch(0.811 0.034 331.373);
--accent: oklch(0.282 0.032 332.288);
--accent-foreground: oklch(0.811 0.034 331.373);
--destructive: oklch(0.611 0.206 35.716);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.778 0.073 332.028);
--chart-1: oklch(0.778 0.073 332.028);
--chart-2: oklch(0.282 0.032 332.288);
--chart-3: oklch(0.282 0.032 332.288);
--chart-4: oklch(0.312 0.037 332.342);
--chart-5: oklch(0.777 0.079 332.132);
}