Purple’s Baby Sister Tortoise is a shadcn/ui theme built around a light purple primary color (#ecc2ef) with muted light purple accents (#dfd6e0). The light mode uses a neutral background (#ffffff). Dark mode keeps the light purple primary (#ecc2ef) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #0f0510black | #f9f5faghostwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #0f0510black | #f9f5faghostwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #0f0510black | #f9f5faghostwhite |
| Primary | #ecc2efthistle | #ecc2efthistle |
| Primary foreground | #5f1a65indigo | #5f1a65indigo |
| Secondary | #dfd6e0gainsboro | #252226darkslategray |
| Secondary foreground | #4a394cdarkslategray | #c0b9c1silver |
| Muted | #dcd5ddgainsboro | #2a222adarkslategray |
| Muted foreground | #58445adimgray | #b9a5bbdarkgray |
| Accent | #dfd6e0gainsboro | #252226darkslategray |
| Accent foreground | #4a394cdarkslategray | #c0b9c1silver |
| Destructive | #8a170adarkred | #ee2c17orangered |
| Destructive foreground | #fbd0cbpink | #ffffffwhite |
| Border | #ebeaeblavender | #242324black |
| Input | #ebeaeblavender | #242324black |
| Ring | #ecc2efthistle | #ecc2efthistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.00:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 7.42:1 | AAA |
| Secondary button | 7.51:1 | AAA |
| Muted text | 6.09:1 | AA |
| Accent | 7.51:1 | AAA |
| Destructive | 6.81:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 7.42:1 | AAA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 6.73:1 | AA |
| Accent | 8.22:1 | AAA |
| Destructive | 4.20:1 | AA Large |
Paste this into your globals.css to use Purple’s Baby Sister Tortoise in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.137 0.032 324.377);
--muted: oklch(0.88 0.014 323.208);
--muted-foreground: oklch(0.416 0.044 323.603);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.137 0.032 324.377);
--card: oklch(1 0 180);
--card-foreground: oklch(0.137 0.032 324.377);
--border: oklch(0.938 0.001 323.141);
--input: oklch(0.938 0.001 323.141);
--primary: oklch(0.864 0.076 323.523);
--primary-foreground: oklch(0.364 0.138 324.322);
--secondary: oklch(0.887 0.017 323.221);
--secondary-foreground: oklch(0.37 0.038 323.59);
--accent: oklch(0.887 0.017 323.221);
--accent-foreground: oklch(0.37 0.038 323.59);
--destructive: oklch(0.409 0.151 30.518);
--destructive-foreground: oklch(0.892 0.05 25.541);
--ring: oklch(0.864 0.076 323.523);
--chart-1: oklch(0.864 0.076 323.523);
--chart-2: oklch(0.887 0.017 323.221);
--chart-3: oklch(0.887 0.017 323.221);
--chart-4: oklch(0.912 0.013 323.2);
--chart-5: oklch(0.864 0.08 323.542);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.008 323.17);
--muted: oklch(0.264 0.019 323.456);
--muted-foreground: oklch(0.746 0.039 323.369);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.008 323.17);
--card: oklch(0 0 0);
--card-foreground: oklch(0.975 0.008 323.17);
--border: oklch(0.258 0.003 323.192);
--input: oklch(0.258 0.003 323.192);
--primary: oklch(0.864 0.076 323.523);
--primary-foreground: oklch(0.364 0.138 324.322);
--secondary: oklch(0.256 0.01 323.308);
--secondary-foreground: oklch(0.793 0.014 323.214);
--accent: oklch(0.256 0.01 323.308);
--accent-foreground: oklch(0.793 0.014 323.214);
--destructive: oklch(0.611 0.228 30.517);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.864 0.076 323.523);
--chart-1: oklch(0.864 0.076 323.523);
--chart-2: oklch(0.256 0.01 323.308);
--chart-3: oklch(0.256 0.01 323.308);
--chart-4: oklch(0.287 0.012 323.317);
--chart-5: oklch(0.864 0.08 323.542);
}