Lumora is a shadcn/ui theme built around a vivid violet primary color (#9061ff) with vivid green accents (#61ff90). The light mode uses a neutral background (#f9f8fc). Dark mode keeps the vivid violet primary (#9061ff) on an indigo-tinted background (#1e1b3a).
| Token | Light | Dark |
|---|---|---|
| Background | #f9f8fcghostwhite | #1e1b3amidnightblue |
| Foreground | #020104black | #e4e8f0lavender |
| Card | #f9f8fcghostwhite | #2a2d3edarkslategray |
| Card foreground | #020104black | #e4e8f0lavender |
| Popover | #f9f8fcghostwhite | #2a2d3edarkslategray |
| Popover foreground | #020104black | #e4e8f0lavender |
| Primary | #9061ffmediumslateblue | #9061ffmediumslateblue |
| Primary foreground | #000000black | #e4e8f0lavender |
| Secondary | #ff9061sandybrown | #2a2d3edarkslategray |
| Secondary foreground | #2e0e00black | #e4e8f0lavender |
| Muted | #eceae9linen | #191b24black |
| Muted foreground | #5b4e49darkolivegreen | #899abedarkgray |
| Accent | #61ff90lightgreen | #3ee8d4turquoise |
| Accent foreground | #002e0eblack | #1e1b3amidnightblue |
| Destructive | #b82905firebrick | #f93706orangered |
| Destructive foreground | #ffffffwhite | #e4e8f0lavender |
| Border | #e5e4e7gainsboro | #e4e8f0lavender |
| Input | #e5e4e7gainsboro | #e4e8f0lavender |
| Ring | #9061ffmediumslateblue | #9061ffmediumslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.69:1 | AAA |
| Text on card | 19.69:1 | AAA |
| Primary button | 5.34:1 | AA |
| Secondary button | 8.00:1 | AAA |
| Muted text | 6.66:1 | AA |
| Accent | 11.60:1 | AAA |
| Destructive | 6.26:1 | AA |
| Text on background | 13.43:1 | AAA |
| Text on card | 11.08:1 | AAA |
| Primary button | 3.20:1 | AA Large |
| Secondary button | 11.08:1 | AAA |
| Muted text | 6.07:1 | AA |
| Accent | 10.75:1 | AAA |
| Destructive | 3.07:1 | AA Large |
Paste this into your globals.css to use Lumora in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.005 299.95);
--foreground: oklch(0.08 0.015 300.232);
--muted: oklch(0.938 0.002 44.959);
--muted-foreground: oklch(0.435 0.019 44.592);
--popover: oklch(0.981 0.005 299.95);
--popover-foreground: oklch(0.08 0.015 300.232);
--card: oklch(0.981 0.005 299.95);
--card-foreground: oklch(0.08 0.015 300.232);
--border: oklch(0.921 0.003 299.987);
--input: oklch(0.921 0.003 299.987);
--primary: oklch(0.624 0.223 292.542);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.764 0.148 43.316);
--secondary-foreground: oklch(0.213 0.059 46.371);
--accent: oklch(0.891 0.201 150.088);
--accent-foreground: oklch(0.263 0.075 148.693);
--destructive: oklch(0.511 0.184 33.368);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.624 0.223 292.542);
--chart-1: oklch(0.624 0.223 292.542);
--chart-2: oklch(0.764 0.148 43.316);
--chart-3: oklch(0.891 0.201 150.088);
--chart-4: oklch(0.784 0.133 43.629);
--chart-5: oklch(0.622 0.229 292.218);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.243 0.058 285.682);
--foreground: oklch(0.93 0.012 264.509);
--muted: oklch(0.224 0.018 275.082);
--muted-foreground: oklch(0.686 0.057 265.107);
--popover: oklch(0.302 0.031 276.608);
--popover-foreground: oklch(0.93 0.012 264.509);
--card: oklch(0.302 0.031 276.608);
--card-foreground: oklch(0.93 0.012 264.509);
--border: oklch(0.93 0.012 264.509);
--input: oklch(0.93 0.012 264.509);
--primary: oklch(0.624 0.223 292.542);
--primary-foreground: oklch(0.93 0.012 264.509);
--secondary: oklch(0.302 0.031 276.608);
--secondary-foreground: oklch(0.93 0.012 264.509);
--accent: oklch(0.842 0.137 183.221);
--accent-foreground: oklch(0.243 0.058 285.682);
--destructive: oklch(0.638 0.233 32.99);
--destructive-foreground: oklch(0.93 0.012 264.509);
--ring: oklch(0.624 0.223 292.542);
--chart-1: oklch(0.624 0.223 292.542);
--chart-2: oklch(0.764 0.148 43.316);
--chart-3: oklch(0.891 0.201 150.088);
--chart-4: oklch(0.784 0.133 43.629);
--chart-5: oklch(0.622 0.229 292.218);
}