Noctis Lilac is a shadcn/ui theme built around a vivid indigo primary color (#7060eb) with light indigo accents (#c3bfdf). The light mode uses an indigo-tinted background (#f2f1f8). Dark mode keeps the vivid indigo primary (#7060eb) on an indigo-tinted background (#f2f1f8).
| Token | Light | Dark |
|---|---|---|
| Background | #f2f1f8whitesmoke | #f2f1f8whitesmoke |
| Foreground | #0c006bnavy | #0c006bnavy |
| Card | #ecebf5lavender | #ecebf5lavender |
| Card foreground | #0a0052midnightblue | #0a0052midnightblue |
| Popover | #e9e7f3lavender | #e9e7f3lavender |
| Popover foreground | #070038black | #070038black |
| Primary | #7060ebmediumslateblue | #7060ebmediumslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #b1acd2lightsteelblue | #b1acd2lightsteelblue |
| Secondary foreground | #1d1b32midnightblue | #1d1b32midnightblue |
| Muted | #e3e2e9gainsboro | #e3e2e9gainsboro |
| Muted foreground | #464356darkslategray | #464356darkslategray |
| Accent | #c3bfdflightsteelblue | #c3bfdflightsteelblue |
| Accent foreground | #292447darkslategray | #292447darkslategray |
| Destructive | #620804maroon | #620804maroon |
| Destructive foreground | #fba19dlightsalmon | #fba19dlightsalmon |
| Border | #e4e3edlavender | #e4e3edlavender |
| Input | #dbd9e7gainsboro | #dbd9e7gainsboro |
| Ring | #7060ebmediumslateblue | #7060ebmediumslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 15.29:1 | AAA |
| Text on card | 15.62:1 | AAA |
| Primary button | 4.58:1 | AA |
| Secondary button | 7.73:1 | AAA |
| Muted text | 7.45:1 | AAA |
| Accent | 8.21:1 | AAA |
| Destructive | 6.84:1 | AA |
| Text on background | 15.29:1 | AAA |
| Text on card | 15.62:1 | AAA |
| Primary button | 4.58:1 | AA |
| Secondary button | 7.73:1 | AAA |
| Muted text | 7.45:1 | AAA |
| Accent | 8.21:1 | AAA |
| Destructive | 6.84:1 | AA |
Paste this into your globals.css to use Noctis Lilac in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.962 0.009 293.13);
--foreground: oklch(0.245 0.161 269.365);
--muted: oklch(0.917 0.008 293.136);
--muted-foreground: oklch(0.394 0.031 291.794);
--popover: oklch(0.934 0.016 292.985);
--popover-foreground: oklch(0.161 0.103 273.653);
--card: oklch(0.943 0.014 293.035);
--card-foreground: oklch(0.204 0.133 270.941);
--border: oklch(0.919 0.014 293.013);
--input: oklch(0.892 0.019 292.9);
--primary: oklch(0.581 0.202 283.441);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.761 0.054 290.39);
--secondary-foreground: oklch(0.236 0.043 287.945);
--accent: oklch(0.817 0.045 292.26);
--accent-foreground: oklch(0.285 0.063 288.584);
--destructive: oklch(0.319 0.122 29.74);
--destructive-foreground: oklch(0.799 0.108 23.045);
--ring: oklch(0.581 0.202 283.441);
--chart-1: oklch(0.581 0.202 283.441);
--chart-2: oklch(0.761 0.054 290.39);
--chart-3: oklch(0.817 0.045 292.26);
--chart-4: oklch(0.791 0.047 290.621);
--chart-5: oklch(0.577 0.209 282.966);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.962 0.009 293.13);
--foreground: oklch(0.245 0.161 269.365);
--muted: oklch(0.917 0.008 293.136);
--muted-foreground: oklch(0.394 0.031 291.794);
--popover: oklch(0.934 0.016 292.985);
--popover-foreground: oklch(0.161 0.103 273.653);
--card: oklch(0.943 0.014 293.035);
--card-foreground: oklch(0.204 0.133 270.941);
--border: oklch(0.919 0.014 293.013);
--input: oklch(0.892 0.019 292.9);
--primary: oklch(0.581 0.202 283.441);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.761 0.054 290.39);
--secondary-foreground: oklch(0.236 0.043 287.945);
--accent: oklch(0.817 0.045 292.26);
--accent-foreground: oklch(0.285 0.063 288.584);
--destructive: oklch(0.319 0.122 29.74);
--destructive-foreground: oklch(0.799 0.108 23.045);
--ring: oklch(0.581 0.202 283.441);
--chart-1: oklch(0.581 0.202 283.441);
--chart-2: oklch(0.761 0.054 290.39);
--chart-3: oklch(0.817 0.045 292.26);
--chart-4: oklch(0.791 0.047 290.621);
--chart-5: oklch(0.577 0.209 282.966);
}