Clear Luscious Purple is a shadcn/ui theme built around a muted violet primary color (#645e73) with muted green accents (#6d735e). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the muted violet primary (#645e73) on a neutral background (#040208).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #040208black |
| Foreground | #05020dblack | #f9f8fbghostwhite |
| Card | #f9f8fcghostwhite | #06040cblack |
| Card foreground | #040209black | #fcfcfdwhite |
| Popover | #fcfbfewhite | #040208black |
| Popover foreground | #05020dblack | #f9f8fbghostwhite |
| Primary | #645e73dimgray | #645e73dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #6d735edimgray | #6d735edimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ebf0e0beige | #1a1f0fblack |
| Muted foreground | #474a3fdarkslategray | #bdc0b5silver |
| Accent | #6d735edimgray | #6d735edimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d84a0echocolate | #d84a0echocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e4e3e8gainsboro | #1d1c22black |
| Input | #e4e3e8gainsboro | #1d1c22black |
| Ring | #645e73dimgray | #645e73dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.98:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 4.92:1 | AA |
| Muted text | 7.79:1 | AAA |
| Accent | 4.92:1 | AA |
| Destructive | 4.27:1 | AA Large |
| Text on background | 19.47:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 4.92:1 | AA |
| Muted text | 9.13:1 | AAA |
| Accent | 4.92:1 | AA |
| Destructive | 4.27:1 | AA Large |
Paste this into your globals.css to use Clear Luscious Purple in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 299.253);
--foreground: oklch(0.108 0.031 298.995);
--muted: oklch(0.947 0.021 119.689);
--muted-foreground: oklch(0.404 0.018 120.091);
--popover: oklch(0.99 0.003 299.253);
--popover-foreground: oklch(0.108 0.031 298.995);
--card: oklch(0.98 0.006 299.2);
--card-foreground: oklch(0.095 0.027 299.363);
--border: oklch(0.918 0.007 299.173);
--input: oklch(0.918 0.007 299.173);
--primary: oklch(0.495 0.034 298.128);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.544 0.032 120.333);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.544 0.032 120.333);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.6 0.187 38.827);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.495 0.034 298.128);
--chart-1: oklch(0.495 0.034 298.128);
--chart-2: oklch(0.544 0.032 120.333);
--chart-3: oklch(0.544 0.032 120.333);
--chart-4: oklch(0.572 0.034 120.341);
--chart-5: oklch(0.489 0.044 297.739);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.101 0.019 299.343);
--foreground: oklch(0.982 0.004 299.232);
--muted: oklch(0.229 0.029 121.601);
--muted-foreground: oklch(0.801 0.016 119.639);
--popover: oklch(0.101 0.019 299.343);
--popover-foreground: oklch(0.982 0.004 299.232);
--card: oklch(0.115 0.022 299.215);
--card-foreground: oklch(0.991 0.002 299.269);
--border: oklch(0.229 0.012 298.405);
--input: oklch(0.229 0.012 298.405);
--primary: oklch(0.495 0.034 298.128);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.544 0.032 120.333);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.544 0.032 120.333);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.6 0.187 38.827);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.495 0.034 298.128);
--chart-1: oklch(0.495 0.034 298.128);
--chart-2: oklch(0.544 0.032 120.333);
--chart-3: oklch(0.544 0.032 120.333);
--chart-4: oklch(0.572 0.034 120.341);
--chart-5: oklch(0.489 0.044 297.739);
}