Spontaneous Parma Mauve is a shadcn/ui theme built around a muted indigo primary color (#585379) with light orange accents (#e9ceaf). The light mode uses an orange-tinted background (#faf3eb). Dark mode keeps the muted indigo primary (#585379) on an orange-tinted background (#faf3eb).
| Token | Light | Dark |
|---|---|---|
| Background | #faf3eblinen | #faf3eblinen |
| Foreground | #585379dimgray | #585379dimgray |
| Card | #f7eee3linen | #f7eee3linen |
| Card foreground | #4d486adarkslateblue | #4d486adarkslateblue |
| Popover | #f6ebdfantiquewhite | #f6ebdfantiquewhite |
| Popover foreground | #423e5bdarkslategray | #423e5bdarkslategray |
| Primary | #585379dimgray | #585379dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #bbbac5silver | #bbbac5silver |
| Secondary foreground | #24232adarkslategray | #24232adarkslategray |
| Muted | #e9e6e2gainsboro | #e9e6e2gainsboro |
| Muted foreground | #564d43darkolivegreen | #564d43darkolivegreen |
| Accent | #e9ceafwheat | #e9ceafwheat |
| Accent foreground | #503516darkolivegreen | #503516darkolivegreen |
| Destructive | #630c03maroon | #630c03maroon |
| Destructive foreground | #fca59clightsalmon | #fca59clightsalmon |
| Border | #f1e6daantiquewhite | #f1e6daantiquewhite |
| Input | #eddfceantiquewhite | #eddfceantiquewhite |
| Ring | #585379dimgray | #585379dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.50:1 | AA |
| Text on card | 7.46:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 8.08:1 | AAA |
| Muted text | 6.63:1 | AA |
| Accent | 7.46:1 | AAA |
| Destructive | 6.91:1 | AA |
| Text on background | 6.50:1 | AA |
| Text on card | 7.46:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 8.08:1 | AAA |
| Muted text | 6.63:1 | AA |
| Accent | 7.46:1 | AAA |
| Destructive | 6.91:1 | AA |
Paste this into your globals.css to use Spontaneous Parma Mauve in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.966 0.013 71.335);
--foreground: oklch(0.462 0.062 289.832);
--muted: oklch(0.925 0.005 71.4);
--muted-foreground: oklch(0.426 0.019 70.981);
--popover: oklch(0.946 0.02 71.254);
--popover-foreground: oklch(0.38 0.049 289.957);
--card: oklch(0.953 0.018 71.282);
--card-foreground: oklch(0.422 0.056 289.887);
--border: oklch(0.931 0.021 71.243);
--input: oklch(0.911 0.027 71.164);
--primary: oklch(0.462 0.062 289.832);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.792 0.016 292.159);
--secondary-foreground: oklch(0.259 0.013 291.596);
--accent: oklch(0.866 0.051 70.794);
--accent-foreground: oklch(0.354 0.059 67.306);
--destructive: oklch(0.323 0.121 31.175);
--destructive-foreground: oklch(0.806 0.105 26.564);
--ring: oklch(0.462 0.062 289.832);
--chart-1: oklch(0.462 0.062 289.832);
--chart-2: oklch(0.792 0.016 292.159);
--chart-3: oklch(0.866 0.051 70.794);
--chart-4: oklch(0.818 0.014 292.219);
--chart-5: oklch(0.455 0.072 289.3);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.966 0.013 71.335);
--foreground: oklch(0.462 0.062 289.832);
--muted: oklch(0.925 0.005 71.4);
--muted-foreground: oklch(0.426 0.019 70.981);
--popover: oklch(0.946 0.02 71.254);
--popover-foreground: oklch(0.38 0.049 289.957);
--card: oklch(0.953 0.018 71.282);
--card-foreground: oklch(0.422 0.056 289.887);
--border: oklch(0.931 0.021 71.243);
--input: oklch(0.911 0.027 71.164);
--primary: oklch(0.462 0.062 289.832);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.792 0.016 292.159);
--secondary-foreground: oklch(0.259 0.013 291.596);
--accent: oklch(0.866 0.051 70.794);
--accent-foreground: oklch(0.354 0.059 67.306);
--destructive: oklch(0.323 0.121 31.175);
--destructive-foreground: oklch(0.806 0.105 26.564);
--ring: oklch(0.462 0.062 289.832);
--chart-1: oklch(0.462 0.062 289.832);
--chart-2: oklch(0.792 0.016 292.159);
--chart-3: oklch(0.866 0.051 70.794);
--chart-4: oklch(0.818 0.014 292.219);
--chart-5: oklch(0.455 0.072 289.3);
}