Lilac Spring Amphibian is a shadcn/ui theme built around a violet primary color (#8e26c9) with teal accents (#26c98e). The light mode uses a neutral background (#fbf6fd). Dark mode keeps the violet primary (#8e26c9) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf6fdghostwhite | #030104black |
| Foreground | #060208black | #faf9fbghostwhite |
| Card | #f9f2fdghostwhite | #060307black |
| Card foreground | #030104black | #fdfcfdwhite |
| Popover | #f9f2fdghostwhite | #060307black |
| Popover foreground | #030104black | #fdfcfdwhite |
| Primary | #8e26c9darkorchid | #8e26c9darkorchid |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #c98e26peru | #c98e26peru |
| Secondary foreground | #1e1506black | #1e1506black |
| Muted | #e6e4e0gainsboro | #1f1d19black |
| Muted foreground | #43413ddarkslategray | #c2c0bcsilver |
| Accent | #26c98elightseagreen | #26c98elightseagreen |
| Accent foreground | #061e15black | #061e15black |
| Destructive | #621609maroon | #ea3d1forangered |
| Destructive foreground | #f7b2a6lightpink | #ffffffwhite |
| Border | #e6e5e6gainsboro | #1f1e1fblack |
| Input | #e6e5e6gainsboro | #1f1e1fblack |
| Ring | #8e26c9darkorchid | #8e26c9darkorchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.36:1 | AAA |
| Text on card | 18.96:1 | AAA |
| Primary button | 6.41:1 | AA |
| Secondary button | 6.32:1 | AA |
| Muted text | 8.00:1 | AAA |
| Accent | 8.18:1 | AAA |
| Destructive | 7.23:1 | AAA |
| Text on background | 19.78:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 6.41:1 | AA |
| Secondary button | 6.32:1 | AA |
| Muted text | 9.26:1 | AAA |
| Accent | 8.18:1 | AAA |
| Destructive | 4.03:1 | AA Large |
Paste this into your globals.css to use Lilac Spring Amphibian in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.01 313.541);
--foreground: oklch(0.104 0.023 315.538);
--muted: oklch(0.919 0.006 81.512);
--muted-foreground: oklch(0.375 0.007 81.496);
--popover: oklch(0.97 0.015 313.508);
--popover-foreground: oklch(0.082 0.019 315.538);
--card: oklch(0.97 0.015 313.508);
--card-foreground: oklch(0.082 0.019 315.538);
--border: oklch(0.923 0.002 313.596);
--input: oklch(0.923 0.002 313.596);
--primary: oklch(0.515 0.233 308.711);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.688 0.133 75.693);
--secondary-foreground: oklch(0.203 0.031 80.339);
--accent: oklch(0.744 0.155 162.105);
--accent-foreground: oklch(0.212 0.036 166.259);
--destructive: oklch(0.33 0.11 32.364);
--destructive-foreground: oklch(0.826 0.082 30.152);
--ring: oklch(0.515 0.233 308.711);
--chart-1: oklch(0.515 0.233 308.711);
--chart-2: oklch(0.688 0.133 75.693);
--chart-3: oklch(0.744 0.155 162.105);
--chart-4: oklch(0.72 0.139 75.615);
--chart-5: oklch(0.516 0.239 308.36);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.014 315.047);
--foreground: oklch(0.983 0.004 313.582);
--muted: oklch(0.231 0.008 81.453);
--muted-foreground: oklch(0.809 0.006 81.512);
--popover: oklch(0.107 0.018 315.047);
--popover-foreground: oklch(0.991 0.002 313.594);
--card: oklch(0.107 0.018 315.047);
--card-foreground: oklch(0.991 0.002 313.594);
--border: oklch(0.236 0.003 313.538);
--input: oklch(0.236 0.003 313.538);
--primary: oklch(0.515 0.233 308.711);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.688 0.133 75.693);
--secondary-foreground: oklch(0.203 0.031 80.339);
--accent: oklch(0.744 0.155 162.105);
--accent-foreground: oklch(0.212 0.036 166.259);
--destructive: oklch(0.619 0.213 32.28);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.515 0.233 308.711);
--chart-1: oklch(0.515 0.233 308.711);
--chart-2: oklch(0.688 0.133 75.693);
--chart-3: oklch(0.744 0.155 162.105);
--chart-4: oklch(0.72 0.139 75.615);
--chart-5: oklch(0.516 0.239 308.36);
}