Middy’s Purple Parakeet is a shadcn/ui theme built around a violet primary color (#ab86df) with neutral gray accents (#dedede). The light mode uses a neutral background (#f9f7fd). Dark mode keeps the violet primary (#ab86df) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f9f7fdghostwhite | #000000black |
| Foreground | #0b0514black | #faf8fcghostwhite |
| Card | #f9f7fdghostwhite | #000000black |
| Card foreground | #0b0514black | #faf8fcghostwhite |
| Popover | #f9f7fdghostwhite | #000000black |
| Popover foreground | #0b0514black | #faf8fcghostwhite |
| Primary | #ab86dfmediumpurple | #ab86dfmediumpurple |
| Primary foreground | #170b28black | #170b28black |
| Secondary | #dededegainsboro | #322e38darkslategray |
| Secondary foreground | #454446darkslategray | #cbc7d1lightgrey |
| Muted | #e4deedlavender | #181221black |
| Muted foreground | #5c526bdimgray | #9f94addarkgray |
| Accent | #dededegainsboro | #322e38darkslategray |
| Accent foreground | #454446darkslategray | #cbc7d1lightgrey |
| Destructive | #a42b0afirebrick | #d9390dorangered |
| Destructive foreground | #fde8e2mistyrose | #ffffffwhite |
| Border | #e5e5e6gainsboro | #1e1e20black |
| Input | #e5e5e6gainsboro | #1e1e20black |
| Ring | #ab86dfmediumpurple | #ab86dfmediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.92:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 6.47:1 | AA |
| Secondary button | 7.17:1 | AAA |
| Muted text | 5.57:1 | AA |
| Accent | 7.17:1 | AAA |
| Destructive | 6.09:1 | AA |
| Text on background | 19.89:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 6.47:1 | AA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 6.35:1 | AA |
| Accent | 7.94:1 | AAA |
| Destructive | 4.63:1 | AA |
Paste this into your globals.css to use Middy’s Purple Parakeet in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.007 304.941);
--foreground: oklch(0.137 0.035 302.848);
--muted: oklch(0.911 0.02 304.738);
--muted-foreground: oklch(0.458 0.041 303.797);
--popover: oklch(0.98 0.007 304.941);
--popover-foreground: oklch(0.137 0.035 302.848);
--card: oklch(0.98 0.007 304.941);
--card-foreground: oklch(0.137 0.035 302.848);
--border: oklch(0.922 0.002 305.012);
--input: oklch(0.922 0.002 305.012);
--primary: oklch(0.69 0.132 302.267);
--primary-foreground: oklch(0.185 0.058 299.919);
--secondary: oklch(0.9 0.001 305.03);
--secondary-foreground: oklch(0.388 0.002 304.959);
--accent: oklch(0.9 0.001 305.03);
--accent-foreground: oklch(0.388 0.002 304.959);
--destructive: oklch(0.477 0.162 34.624);
--destructive-foreground: oklch(0.946 0.025 35.95);
--ring: oklch(0.69 0.132 302.267);
--chart-1: oklch(0.69 0.132 302.267);
--chart-2: oklch(0.9 0.001 305.03);
--chart-3: oklch(0.9 0.001 305.03);
--chart-4: oklch(0.923 0.001 305.034);
--chart-5: oklch(0.687 0.139 302.094);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.981 0.005 304.969);
--muted: oklch(0.198 0.029 302.953);
--muted-foreground: oklch(0.685 0.037 304.292);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.981 0.005 304.969);
--card: oklch(0 0 0);
--card-foreground: oklch(0.981 0.005 304.969);
--border: oklch(0.235 0.004 304.831);
--input: oklch(0.235 0.004 304.831);
--primary: oklch(0.69 0.132 302.267);
--primary-foreground: oklch(0.185 0.058 299.919);
--secondary: oklch(0.311 0.017 304.288);
--secondary-foreground: oklch(0.837 0.013 304.826);
--accent: oklch(0.311 0.017 304.288);
--accent-foreground: oklch(0.837 0.013 304.826);
--destructive: oklch(0.584 0.202 34.328);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.69 0.132 302.267);
--chart-1: oklch(0.69 0.132 302.267);
--chart-2: oklch(0.311 0.017 304.288);
--chart-3: oklch(0.311 0.017 304.288);
--chart-4: oklch(0.339 0.019 304.265);
--chart-5: oklch(0.687 0.139 302.094);
}