Pleased Purple Sand is a shadcn/ui theme built around a light indigo primary color (#bcb2f0) with light green accents (#b2f0bc). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the light indigo primary (#bcb2f0) on an indigo-tinted background (#07060e).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #07060eblack |
| Foreground | #070514black | #fcfcfdwhite |
| Card | #f8f7fdghostwhite | #090812black |
| Card foreground | #060410black | #ffffffwhite |
| Popover | #fcfbfewhite | #07060eblack |
| Popover foreground | #070514black | #fcfcfdwhite |
| Primary | #bcb2f0lightsteelblue | #bcb2f0lightsteelblue |
| Primary foreground | #1e135emidnightblue | #1e135emidnightblue |
| Secondary | #f0bcb2lightpink | #f0bcb2lightpink |
| Secondary foreground | #5e1e13maroon | #5e1e13maroon |
| Muted | #ded5d3lightgrey | #2c2321darkslategray |
| Muted foreground | #514543darkslategray | #bcb0aedarkgray |
| Accent | #b2f0bcpowderblue | #b2f0bcpowderblue |
| Accent foreground | #135e1edarkgreen | #135e1edarkgreen |
| Destructive | #762e05saddlebrown | #f05e0aorangered |
| Destructive foreground | #fcccb1peachpuff | #000000black |
| Border | #e5e5e6gainsboro | #19191ablack |
| Input | #e5e5e6gainsboro | #19191ablack |
| Ring | #bcb2f0lightsteelblue | #bcb2f0lightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.56:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 8.22:1 | AAA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 6.38:1 | AA |
| Accent | 6.07:1 | AA |
| Destructive | 6.67:1 | AA |
| Text on background | 19.62:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 8.22:1 | AAA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 7.31:1 | AAA |
| Accent | 6.07:1 | AA |
| Destructive | 6.31:1 | AA |
Paste this into your globals.css to use Pleased Purple Sand in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 293.24);
--foreground: oklch(0.131 0.035 289.233);
--muted: oklch(0.88 0.01 29.51);
--muted-foreground: oklch(0.402 0.018 29.686);
--popover: oklch(0.99 0.003 293.24);
--popover-foreground: oklch(0.131 0.035 289.233);
--card: oklch(0.979 0.007 293.173);
--card-foreground: oklch(0.121 0.031 290.305);
--border: oklch(0.922 0.001 293.278);
--input: oklch(0.922 0.001 293.278);
--primary: oklch(0.794 0.087 291.162);
--primary-foreground: oklch(0.261 0.125 280.122);
--secondary: oklch(0.838 0.062 29.916);
--secondary-foreground: oklch(0.332 0.096 32.253);
--accent: oklch(0.899 0.095 148.769);
--accent-foreground: oklch(0.422 0.12 145.128);
--destructive: oklch(0.398 0.111 44.429);
--destructive-foreground: oklch(0.88 0.066 51.633);
--ring: oklch(0.794 0.087 291.162);
--chart-1: oklch(0.794 0.087 291.162);
--chart-2: oklch(0.838 0.062 29.916);
--chart-3: oklch(0.899 0.095 148.769);
--chart-4: oklch(0.865 0.051 29.793);
--chart-5: oklch(0.791 0.091 291.049);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.131 0.018 291.715);
--foreground: oklch(0.991 0.002 293.265);
--muted: oklch(0.264 0.014 29.757);
--muted-foreground: oklch(0.767 0.015 29.544);
--popover: oklch(0.131 0.018 291.715);
--popover-foreground: oklch(0.991 0.002 293.265);
--card: oklch(0.142 0.021 290.819);
--card-foreground: oklch(1 0 180);
--border: oklch(0.214 0.002 293.132);
--input: oklch(0.214 0.002 293.132);
--primary: oklch(0.794 0.087 291.162);
--primary-foreground: oklch(0.261 0.125 280.122);
--secondary: oklch(0.838 0.062 29.916);
--secondary-foreground: oklch(0.332 0.096 32.253);
--accent: oklch(0.899 0.095 148.769);
--accent-foreground: oklch(0.422 0.12 145.128);
--destructive: oklch(0.663 0.195 42.506);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.794 0.087 291.162);
--chart-1: oklch(0.794 0.087 291.162);
--chart-2: oklch(0.838 0.062 29.916);
--chart-3: oklch(0.899 0.095 148.769);
--chart-4: oklch(0.865 0.051 29.793);
--chart-5: oklch(0.791 0.091 291.049);
}