Perfumed is a shadcn/ui theme built around a light cyan primary color (#a2d9f1) with light blue accents (#a2b2f1). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the light cyan primary (#a2d9f1) on a neutral background (#020304).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fbfdghostwhite | #020304black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f3f9fcaliceblue | #030607black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f3f9fcaliceblue | #030607black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #a2d9f1lightblue | #a2d9f1lightblue |
| Primary foreground | #0d3f54darkslategray | #0d3f54darkslategray |
| Secondary | #a2f1e1paleturquoise | #a2f1e1paleturquoise |
| Secondary foreground | #0d5446darkslategray | #0d5446darkslategray |
| Muted | #d6dbdagainsboro | #242928darkslategray |
| Muted foreground | #585f5edimgray | #a0a7a5darkgray |
| Accent | #a2b2f1lightsteelblue | #a2b2f1lightsteelblue |
| Accent foreground | #0d1b54midnightblue | #0d1b54midnightblue |
| Destructive | #b82b0ffirebrick | #e73613orangered |
| Destructive foreground | #fffbfasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a2d9f1lightblue | #a2d9f1lightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.18:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 7.41:1 | AAA |
| Secondary button | 6.83:1 | AA |
| Muted text | 4.68:1 | AA |
| Accent | 7.79:1 | AAA |
| Destructive | 6.02:1 | AA |
| Text on background | 20.66:1 | AAA |
| Text on card | 20.33:1 | AAA |
| Primary button | 7.41:1 | AAA |
| Secondary button | 6.83:1 | AA |
| Muted text | 6.03:1 | AA |
| Accent | 7.79:1 | AAA |
| Destructive | 4.24:1 | AA Large |
Paste this into your globals.css to use Perfumed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.005 225.041);
--foreground: oklch(0 0 0);
--muted: oklch(0.888 0.006 183);
--muted-foreground: oklch(0.48 0.009 182.639);
--popover: oklch(0.979 0.008 225.072);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.979 0.008 225.072);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.856 0.066 226.247);
--primary-foreground: oklch(0.346 0.063 231.709);
--secondary: oklch(0.903 0.081 180.429);
--secondary-foreground: oklch(0.401 0.071 175.173);
--accent: oklch(0.774 0.093 273.242);
--accent-foreground: oklch(0.254 0.106 267.243);
--destructive: oklch(0.514 0.181 32.702);
--destructive-foreground: oklch(0.991 0.004 31.051);
--ring: oklch(0.856 0.066 226.247);
--chart-1: oklch(0.856 0.066 226.247);
--chart-2: oklch(0.903 0.081 180.429);
--chart-3: oklch(0.774 0.093 273.242);
--chart-4: oklch(0.915 0.07 180.884);
--chart-5: oklch(0.857 0.068 226.315);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.093 0.007 220.732);
--foreground: oklch(1 0 180);
--muted: oklch(0.275 0.008 182.385);
--muted-foreground: oklch(0.722 0.009 182.857);
--popover: oklch(0.117 0.009 220.732);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.117 0.009 220.732);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.856 0.066 226.247);
--primary-foreground: oklch(0.346 0.063 231.709);
--secondary: oklch(0.903 0.081 180.429);
--secondary-foreground: oklch(0.401 0.071 175.173);
--accent: oklch(0.774 0.093 273.242);
--accent-foreground: oklch(0.254 0.106 267.243);
--destructive: oklch(0.607 0.217 32.582);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.856 0.066 226.247);
--chart-1: oklch(0.856 0.066 226.247);
--chart-2: oklch(0.903 0.081 180.429);
--chart-3: oklch(0.774 0.093 273.242);
--chart-4: oklch(0.915 0.07 180.884);
--chart-5: oklch(0.857 0.068 226.315);
}