Lexical Dull Lavender is a shadcn/ui theme built around a vivid light violet primary color (#ac94f4) with vivid light purple accents (#dc94f4). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light violet primary (#ac94f4) on a violet-tinted background (#06040b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #06040bblack |
| Foreground | #030109black | #fcfcfdwhite |
| Card | #ffffffwhite | #06040bblack |
| Card foreground | #030109black | #fcfcfdwhite |
| Popover | #ffffffwhite | #06040bblack |
| Popover foreground | #030109black | #fcfcfdwhite |
| Primary | #ac94f4mediumpurple | #ac94f4mediumpurple |
| Primary foreground | #1a084fmidnightblue | #1a084fmidnightblue |
| Secondary | #94acf4lightskyblue | #94acf4lightskyblue |
| Secondary foreground | #081a4fmidnightblue | #081a4fmidnightblue |
| Muted | #e6e8eflavender | #101219black |
| Muted foreground | #5b6071dimgray | #8e93a4lightslategray |
| Accent | #dc94f4plum | #dc94f4plum |
| Accent foreground | #3d084fmidnightblue | #3d084fmidnightblue |
| Destructive | #761f04maroon | #f75322orangered |
| Destructive foreground | #fcc2b0lightpink | #ffffffwhite |
| Border | #efeef2whitesmoke | #211f29black |
| Input | #efeef2whitesmoke | #211f29black |
| Ring | #ac94f4mediumpurple | #ac94f4mediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.74:1 | AAA |
| Text on card | 20.74:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 7.47:1 | AAA |
| Muted text | 5.12:1 | AA |
| Accent | 7.14:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 19.88:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 7.47:1 | AAA |
| Muted text | 6.10:1 | AA |
| Accent | 7.14:1 | AAA |
| Destructive | 3.37:1 | AA Large |
Paste this into your globals.css to use Lexical Dull Lavender in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.092 0.028 297.32);
--muted: oklch(0.933 0.009 271.319);
--muted-foreground: oklch(0.492 0.028 270.796);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.092 0.028 297.32);
--card: oklch(1 0 180);
--card-foreground: oklch(0.092 0.028 297.32);
--border: oklch(0.95 0.006 297.716);
--input: oklch(0.95 0.006 297.716);
--primary: oklch(0.727 0.138 294.197);
--primary-foreground: oklch(0.225 0.117 283.239);
--secondary: oklch(0.755 0.108 269.589);
--secondary-foreground: oklch(0.243 0.101 265.131);
--accent: oklch(0.773 0.152 317.373);
--accent-foreground: oklch(0.275 0.122 315.452);
--destructive: oklch(0.379 0.126 35.793);
--destructive-foreground: oklch(0.862 0.072 37.599);
--ring: oklch(0.727 0.138 294.197);
--chart-1: oklch(0.727 0.138 294.197);
--chart-2: oklch(0.755 0.108 269.589);
--chart-3: oklch(0.773 0.152 317.373);
--chart-4: oklch(0.787 0.093 269.963);
--chart-5: oklch(0.724 0.143 294.031);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.116 0.02 297.477);
--foreground: oklch(0.991 0.002 297.795);
--muted: oklch(0.184 0.014 270.575);
--muted-foreground: oklch(0.666 0.026 271.01);
--popover: oklch(0.116 0.02 297.477);
--popover-foreground: oklch(0.991 0.002 297.795);
--card: oklch(0.116 0.02 297.477);
--card-foreground: oklch(0.991 0.002 297.795);
--border: oklch(0.245 0.019 296.422);
--input: oklch(0.245 0.019 296.422);
--primary: oklch(0.727 0.138 294.197);
--primary-foreground: oklch(0.225 0.117 283.239);
--secondary: oklch(0.755 0.108 269.589);
--secondary-foreground: oklch(0.243 0.101 265.131);
--accent: oklch(0.773 0.152 317.373);
--accent-foreground: oklch(0.275 0.122 315.452);
--destructive: oklch(0.662 0.208 36.227);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.727 0.138 294.197);
--chart-1: oklch(0.727 0.138 294.197);
--chart-2: oklch(0.755 0.108 269.589);
--chart-3: oklch(0.773 0.152 317.373);
--chart-4: oklch(0.787 0.093 269.963);
--chart-5: oklch(0.724 0.143 294.031);
}