Courtly Purple Turkey is a shadcn/ui theme built around a muted violet primary color (#baafc0) with muted blue accents (#454d5e). The light mode uses a blue-tinted background (#252932). Dark mode keeps the muted violet primary (#baafc0) on a blue-tinted background (#252932).
| Token | Light | Dark |
|---|---|---|
| Background | #252932darkslategray | #252932darkslategray |
| Foreground | #d5ced9lightgrey | #d5ced9lightgrey |
| Card | #21242cdarkslategray | #21242cdarkslategray |
| Card foreground | #e1dce4gainsboro | #e1dce4gainsboro |
| Popover | #1e2229black | #1e2229black |
| Popover foreground | #eeebefwhitesmoke | #eeebefwhitesmoke |
| Primary | #baafc0silver | #baafc0silver |
| Primary foreground | #201b22black | #201b22black |
| Secondary | #403e41darkslategray | #403e41darkslategray |
| Secondary foreground | #d9d8dagainsboro | #d9d8dagainsboro |
| Muted | #2f333cdarkslategray | #2f333cdarkslategray |
| Muted foreground | #acb2bedarkgray | #acb2bedarkgray |
| Accent | #454d5edarkslategray | #454d5edarkslategray |
| Accent foreground | #e8e9eelavender | #e8e9eelavender |
| Destructive | #ec4432tomato | #ec4432tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #35373bdarkslategray | #35373bdarkslategray |
| Input | #3d3e43darkslategray | #3d3e43darkslategray |
| Ring | #baafc0silver | #baafc0silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 9.50:1 | AAA |
| Text on card | 11.51:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 7.41:1 | AAA |
| Muted text | 5.94:1 | AA |
| Accent | 7.01:1 | AAA |
| Destructive | 3.85:1 | AA Large |
| Text on background | 9.50:1 | AAA |
| Text on card | 11.51:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 7.41:1 | AAA |
| Muted text | 5.94:1 | AA |
| Accent | 7.01:1 | AAA |
| Destructive | 3.85:1 | AA Large |
Paste this into your globals.css to use Courtly Purple Turkey in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.28 0.018 266.936);
--foreground: oklch(0.861 0.017 313.483);
--muted: oklch(0.321 0.017 267.034);
--muted-foreground: oklch(0.762 0.019 267.262);
--popover: oklch(0.25 0.015 266.967);
--popover-foreground: oklch(0.943 0.007 313.56);
--card: oklch(0.26 0.016 266.956);
--card-foreground: oklch(0.902 0.012 313.524);
--border: oklch(0.337 0.007 267.283);
--input: oklch(0.366 0.008 267.279);
--primary: oklch(0.769 0.027 314.026);
--primary-foreground: oklch(0.231 0.016 313.848);
--secondary: oklch(0.368 0.005 314.147);
--secondary-foreground: oklch(0.883 0.002 314.205);
--accent: oklch(0.419 0.03 266.854);
--accent-foreground: oklch(0.935 0.006 267.382);
--destructive: oklch(0.63 0.207 30.126);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.769 0.027 314.026);
--chart-1: oklch(0.769 0.027 314.026);
--chart-2: oklch(0.368 0.005 314.147);
--chart-3: oklch(0.419 0.03 266.854);
--chart-4: oklch(0.397 0.005 314.146);
--chart-5: oklch(0.766 0.034 313.977);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.28 0.018 266.936);
--foreground: oklch(0.861 0.017 313.483);
--muted: oklch(0.321 0.017 267.034);
--muted-foreground: oklch(0.762 0.019 267.262);
--popover: oklch(0.25 0.015 266.967);
--popover-foreground: oklch(0.943 0.007 313.56);
--card: oklch(0.26 0.016 266.956);
--card-foreground: oklch(0.902 0.012 313.524);
--border: oklch(0.337 0.007 267.283);
--input: oklch(0.366 0.008 267.279);
--primary: oklch(0.769 0.027 314.026);
--primary-foreground: oklch(0.231 0.016 313.848);
--secondary: oklch(0.368 0.005 314.147);
--secondary-foreground: oklch(0.883 0.002 314.205);
--accent: oklch(0.419 0.03 266.854);
--accent-foreground: oklch(0.935 0.006 267.382);
--destructive: oklch(0.63 0.207 30.126);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.769 0.027 314.026);
--chart-1: oklch(0.769 0.027 314.026);
--chart-2: oklch(0.368 0.005 314.147);
--chart-3: oklch(0.419 0.03 266.854);
--chart-4: oklch(0.397 0.005 314.146);
--chart-5: oklch(0.766 0.034 313.977);
}