Astro Purple Llama is a shadcn/ui theme built around an indigo primary color (#755dd5) with muted light indigo accents (#c3c1cd). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the indigo primary (#755dd5) on an indigo-tinted background (#06040b).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #06040bblack |
| Foreground | #000000black | #ffffffwhite |
| Card | #fcfbfewhite | #06040bblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfbfewhite | #06040bblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #755dd5slateblue | #755dd5slateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dad9ddgainsboro | #2d2c30darkslategray |
| Secondary foreground | #403e46darkslategray | #c6c5c9silver |
| Muted | #d6d1ebgainsboro | #19142eblack |
| Muted foreground | #494559darkslategray | #aaa6badarkgray |
| Accent | #c3c1cdsilver | #413f4bdarkslategray |
| Accent foreground | #2b2933darkslategray | #dcdbe1gainsboro |
| Destructive | #8e0f01darkred | #fe240borangered |
| Destructive foreground | #ffc8c2pink | #ffffffwhite |
| Border | #eae9eclavender | #19181bblack |
| Input | #eae9eclavender | #19181bblack |
| Ring | #755dd5slateblue | #755dd5slateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.39:1 | AAA |
| Text on card | 20.39:1 | AAA |
| Primary button | 4.91:1 | AA |
| Secondary button | 7.50:1 | AAA |
| Muted text | 6.20:1 | AA |
| Accent | 8.04:1 | AAA |
| Destructive | 6.43:1 | AA |
| Text on background | 20.38:1 | AAA |
| Text on card | 20.38:1 | AAA |
| Primary button | 4.91:1 | AA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 7.51:1 | AAA |
| Accent | 7.51:1 | AAA |
| Destructive | 3.84:1 | AA Large |
Paste this into your globals.css to use Astro Purple Llama in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 295.523);
--foreground: oklch(0 0 0);
--muted: oklch(0.872 0.037 294.799);
--muted-foreground: oklch(0.402 0.035 293.959);
--popover: oklch(0.99 0.003 295.523);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.99 0.003 295.523);
--card-foreground: oklch(0 0 0);
--border: oklch(0.936 0.003 295.513);
--input: oklch(0.936 0.003 295.513);
--primary: oklch(0.563 0.177 288.582);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.888 0.006 295.457);
--secondary-foreground: oklch(0.37 0.014 294.896);
--accent: oklch(0.816 0.017 295.187);
--accent-foreground: oklch(0.287 0.018 294.376);
--destructive: oklch(0.413 0.161 30.851);
--destructive-foreground: oklch(0.88 0.063 25.736);
--ring: oklch(0.563 0.177 288.582);
--chart-1: oklch(0.563 0.177 288.582);
--chart-2: oklch(0.888 0.006 295.457);
--chart-3: oklch(0.816 0.017 295.187);
--chart-4: oklch(0.912 0.005 295.486);
--chart-5: oklch(0.559 0.186 288.072);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.116 0.019 294.782);
--foreground: oklch(1 0 180);
--muted: oklch(0.213 0.051 290.595);
--muted-foreground: oklch(0.734 0.03 294.83);
--popover: oklch(0.116 0.019 294.782);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.116 0.019 294.782);
--card-foreground: oklch(1 0 180);
--border: oklch(0.211 0.006 295.051);
--input: oklch(0.211 0.006 295.051);
--primary: oklch(0.563 0.177 288.582);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.296 0.007 295.164);
--secondary-foreground: oklch(0.824 0.006 295.439);
--accent: oklch(0.374 0.021 294.522);
--accent-foreground: oklch(0.894 0.008 295.41);
--destructive: oklch(0.636 0.247 30.374);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.563 0.177 288.582);
--chart-1: oklch(0.563 0.177 288.582);
--chart-2: oklch(0.296 0.007 295.164);
--chart-3: oklch(0.374 0.021 294.522);
--chart-4: oklch(0.325 0.008 295.149);
--chart-5: oklch(0.559 0.186 288.072);
}