Diluted Lilac Puffin is a shadcn/ui theme built around a muted light blue primary color (#d8dee9) with muted blue accents (#4f596d). The light mode uses a blue-tinted background (#2f3541). Dark mode keeps the muted light blue primary (#d8dee9) on a blue-tinted background (#2f3541).
| Token | Light | Dark |
|---|---|---|
| Background | #2f3541darkslategray | #2f3541darkslategray |
| Foreground | #d8dee9gainsboro | #d8dee9gainsboro |
| Card | #2b303bdarkslategray | #2b303bdarkslategray |
| Card foreground | #e8ecf2lavender | #e8ecf2lavender |
| Popover | #292e38darkslategray | #292e38darkslategray |
| Popover foreground | #f8f9fbghostwhite | #f8f9fbghostwhite |
| Primary | #d8dee9gainsboro | #d8dee9gainsboro |
| Primary foreground | #33415bdarkslategray | #33415bdarkslategray |
| Secondary | #343c4bdarkslategray | #343c4bdarkslategray |
| Secondary foreground | #d2d7e0gainsboro | #d2d7e0gainsboro |
| Muted | #3a404adarkslategray | #3a404adarkslategray |
| Muted foreground | #babfc9silver | #babfc9silver |
| Accent | #4f596ddimgray | #4f596ddimgray |
| Accent foreground | #f6f7f9whitesmoke | #f6f7f9whitesmoke |
| Destructive | #ed2e0corangered | #ed2e0corangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #414349darkslategray | #414349darkslategray |
| Input | #484b51darkslategray | #484b51darkslategray |
| Ring | #d8dee9gainsboro | #d8dee9gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 9.09:1 | AAA |
| Text on card | 11.11:1 | AAA |
| Primary button | 7.57:1 | AAA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 5.67:1 | AA |
| Accent | 6.53:1 | AA |
| Destructive | 4.18:1 | AA Large |
| Text on background | 9.09:1 | AAA |
| Text on card | 11.11:1 | AAA |
| Primary button | 7.57:1 | AAA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 5.67:1 | AA |
| Accent | 6.53:1 | AA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Diluted Lilac Puffin in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.329 0.023 264.192);
--foreground: oklch(0.899 0.017 263.013);
--muted: oklch(0.369 0.02 264.3);
--muted-foreground: oklch(0.805 0.015 264.485);
--popover: oklch(0.3 0.02 264.207);
--popover-foreground: oklch(0.983 0.003 263.049);
--card: oklch(0.31 0.021 264.201);
--card-foreground: oklch(0.941 0.01 263.034);
--border: oklch(0.384 0.01 264.45);
--input: oklch(0.412 0.011 264.448);
--primary: oklch(0.899 0.017 263.013);
--primary-foreground: oklch(0.376 0.048 262.419);
--secondary: oklch(0.356 0.028 262.736);
--secondary-foreground: oklch(0.877 0.013 263.022);
--accent: oklch(0.464 0.035 264.146);
--accent-foreground: oklch(0.976 0.002 264.544);
--destructive: oklch(0.612 0.228 31.733);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.899 0.017 263.013);
--chart-1: oklch(0.899 0.017 263.013);
--chart-2: oklch(0.356 0.028 262.736);
--chart-3: oklch(0.464 0.035 264.146);
--chart-4: oklch(0.384 0.031 262.727);
--chart-5: oklch(0.898 0.018 263.007);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.329 0.023 264.192);
--foreground: oklch(0.899 0.017 263.013);
--muted: oklch(0.369 0.02 264.3);
--muted-foreground: oklch(0.805 0.015 264.485);
--popover: oklch(0.3 0.02 264.207);
--popover-foreground: oklch(0.983 0.003 263.049);
--card: oklch(0.31 0.021 264.201);
--card-foreground: oklch(0.941 0.01 263.034);
--border: oklch(0.384 0.01 264.45);
--input: oklch(0.412 0.011 264.448);
--primary: oklch(0.899 0.017 263.013);
--primary-foreground: oklch(0.376 0.048 262.419);
--secondary: oklch(0.356 0.028 262.736);
--secondary-foreground: oklch(0.877 0.013 263.022);
--accent: oklch(0.464 0.035 264.146);
--accent-foreground: oklch(0.976 0.002 264.544);
--destructive: oklch(0.612 0.228 31.733);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.899 0.017 263.013);
--chart-1: oklch(0.899 0.017 263.013);
--chart-2: oklch(0.356 0.028 262.736);
--chart-3: oklch(0.464 0.035 264.146);
--chart-4: oklch(0.384 0.031 262.727);
--chart-5: oklch(0.898 0.018 263.007);
}