Central Spanish Purple is a shadcn/ui theme built around a deep pink primary color (#64123c) with deep red accents (#641213). The light mode uses a neutral background (#fdf7fa). Dark mode keeps the deep pink primary (#64123c) on a neutral background (#040103).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fasnow | #040103black |
| Foreground | #11030ablack | #ffffffwhite |
| Card | #fdf7fasnow | #040103black |
| Card foreground | #11030ablack | #ffffffwhite |
| Popover | #fdf7fasnow | #040103black |
| Popover foreground | #11030ablack | #ffffffwhite |
| Primary | #64123cmaroon | #64123cmaroon |
| Primary foreground | #f2b5d5pink | #f2b5d5pink |
| Secondary | #621264indigo | #621264indigo |
| Secondary foreground | #f1b5f2plum | #f1b5f2plum |
| Muted | #f4f0f4whitesmoke | #0f0b0fblack |
| Muted foreground | #666666dimgray | #999999darkgray |
| Accent | #641213maroon | #641213maroon |
| Accent foreground | #f2b5b6lightpink | #f2b5b6lightpink |
| Destructive | #641a07maroon | #ee4920orangered |
| Destructive foreground | #f8b6a5lightpink | #ffffffwhite |
| Border | #eeecedwhitesmoke | #201d1fblack |
| Input | #eeecedwhitesmoke | #201d1fblack |
| Ring | #64123cmaroon | #64123cmaroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.06:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 7.31:1 | AAA |
| Secondary button | 7.05:1 | AAA |
| Muted text | 5.10:1 | AA |
| Accent | 7.39:1 | AAA |
| Destructive | 7.24:1 | AAA |
| Text on background | 20.75:1 | AAA |
| Text on card | 20.75:1 | AAA |
| Primary button | 7.31:1 | AAA |
| Secondary button | 7.05:1 | AAA |
| Muted text | 6.86:1 | AA |
| Accent | 7.39:1 | AAA |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Central Spanish Purple in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 344.477);
--foreground: oklch(0.133 0.036 346.686);
--muted: oklch(0.96 0.006 325.147);
--muted-foreground: oklch(0.51 0 171.87);
--popover: oklch(0.981 0.007 344.477);
--popover-foreground: oklch(0.133 0.036 346.686);
--card: oklch(0.981 0.007 344.477);
--card-foreground: oklch(0.133 0.036 346.686);
--border: oklch(0.946 0.002 344.348);
--input: oklch(0.946 0.002 344.348);
--primary: oklch(0.341 0.121 354.382);
--primary-foreground: oklch(0.839 0.081 346.604);
--secondary: oklch(0.36 0.148 327.369);
--secondary-foreground: oklch(0.848 0.105 325.91);
--accent: oklch(0.33 0.115 25.51);
--accent-foreground: oklch(0.83 0.071 17.583);
--destructive: oklch(0.337 0.109 34.642);
--destructive-foreground: oklch(0.833 0.082 34.515);
--ring: oklch(0.341 0.121 354.382);
--chart-1: oklch(0.341 0.121 354.382);
--chart-2: oklch(0.36 0.148 327.369);
--chart-3: oklch(0.33 0.115 25.51);
--chart-4: oklch(0.392 0.162 327.384);
--chart-5: oklch(0.343 0.124 354.86);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.014 344.166);
--foreground: oklch(1 0 180);
--muted: oklch(0.155 0.01 325.541);
--muted-foreground: oklch(0.683 0 180);
--popover: oklch(0.085 0.014 344.166);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.085 0.014 344.166);
--card-foreground: oklch(1 0 180);
--border: oklch(0.235 0.006 344.879);
--input: oklch(0.235 0.006 344.879);
--primary: oklch(0.341 0.121 354.382);
--primary-foreground: oklch(0.839 0.081 346.604);
--secondary: oklch(0.36 0.148 327.369);
--secondary-foreground: oklch(0.848 0.105 325.91);
--accent: oklch(0.33 0.115 25.51);
--accent-foreground: oklch(0.83 0.071 17.583);
--destructive: oklch(0.637 0.208 34.504);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.341 0.121 354.382);
--chart-1: oklch(0.341 0.121 354.382);
--chart-2: oklch(0.36 0.148 327.369);
--chart-3: oklch(0.33 0.115 25.51);
--chart-4: oklch(0.392 0.162 327.384);
--chart-5: oklch(0.343 0.124 354.86);
}