Male Magentella is a shadcn/ui theme built around a purple primary color (#cb2ab8) with green accents (#2acb3c). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the purple primary (#cb2ab8) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fbsnow | #000000black |
| Foreground | #000000black | #faf5f9whitesmoke |
| Card | #fcf8fbsnow | #000000black |
| Card foreground | #000000black | #faf5f9whitesmoke |
| Popover | #fcf8fbsnow | #000000black |
| Popover foreground | #000000black | #faf5f9whitesmoke |
| Primary | #cb2ab8mediumorchid | #cb2ab8mediumorchid |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #2acb3climegreen | #2acb3climegreen |
| Secondary foreground | #07220ablack | #07220ablack |
| Muted | #dbebddgainsboro | #142416black |
| Muted foreground | #374939darkslategray | #b6c8b8silver |
| Accent | #2acb3climegreen | #2acb3climegreen |
| Accent foreground | #07220ablack | #07220ablack |
| Destructive | #781207maroon | #f23b26orangered |
| Destructive foreground | #fbbeb7lightpink | #ffffffwhite |
| Border | #e7e4e6gainsboro | #282527darkslategray |
| Input | #e7e4e6gainsboro | #282527darkslategray |
| Ring | #cb2ab8mediumorchid | #cb2ab8mediumorchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.96:1 | AAA |
| Text on card | 19.96:1 | AAA |
| Primary button | 4.60:1 | AA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 7.79:1 | AAA |
| Accent | 7.82:1 | AAA |
| Destructive | 6.93:1 | AA |
| Text on background | 19.49:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 4.60:1 | AA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 9.21:1 | AAA |
| Accent | 7.82:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Male Magentella in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.006 329.201);
--foreground: oklch(0 0 0);
--muted: oklch(0.924 0.026 148.8);
--muted-foreground: oklch(0.384 0.035 148);
--popover: oklch(0.983 0.006 329.201);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.006 329.201);
--card-foreground: oklch(0 0 0);
--border: oklch(0.922 0.003 329.174);
--input: oklch(0.922 0.003 329.174);
--primary: oklch(0.595 0.24 333.668);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.736 0.223 144.202);
--secondary-foreground: oklch(0.223 0.055 145.714);
--accent: oklch(0.736 0.223 144.202);
--accent-foreground: oklch(0.223 0.055 145.714);
--destructive: oklch(0.372 0.138 30.591);
--destructive-foreground: oklch(0.854 0.072 25.896);
--ring: oklch(0.595 0.24 333.668);
--chart-1: oklch(0.595 0.24 333.668);
--chart-2: oklch(0.736 0.223 144.202);
--chart-3: oklch(0.736 0.223 144.202);
--chart-4: oklch(0.762 0.228 144.313);
--chart-5: oklch(0.6 0.246 333.808);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.007 329.216);
--muted: oklch(0.242 0.035 147.241);
--muted-foreground: oklch(0.815 0.029 148.704);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.007 329.216);
--card: oklch(0 0 0);
--card-foreground: oklch(0.975 0.007 329.216);
--border: oklch(0.268 0.007 329.419);
--input: oklch(0.268 0.007 329.419);
--primary: oklch(0.595 0.24 333.668);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.736 0.223 144.202);
--secondary-foreground: oklch(0.223 0.055 145.714);
--accent: oklch(0.736 0.223 144.202);
--accent-foreground: oklch(0.223 0.055 145.714);
--destructive: oklch(0.631 0.222 30.418);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.595 0.24 333.668);
--chart-1: oklch(0.595 0.24 333.668);
--chart-2: oklch(0.736 0.223 144.202);
--chart-3: oklch(0.736 0.223 144.202);
--chart-4: oklch(0.762 0.228 144.313);
--chart-5: oklch(0.6 0.246 333.808);
}