Original is a shadcn/ui theme built around a deep purple primary color (#531c63) with muted light purple accents (#e2dde4). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep purple primary (#531c63) on a purple-tinted background (#0d050f).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0d050fblack |
| Foreground | #070208black | #ffffffwhite |
| Card | #ffffffwhite | #0d050fblack |
| Card foreground | #070208black | #ffffffwhite |
| Popover | #ffffffwhite | #0d050fblack |
| Popover foreground | #070208black | #ffffffwhite |
| Primary | #531c63indigo | #531c63indigo |
| Primary foreground | #e4c3eethistle | #e4c3eethistle |
| Secondary | #e2dde4gainsboro | #28222adarkslategray |
| Secondary foreground | #4c404fdarkslategray | #c3b9c6silver |
| Muted | #f0e8f2lavender | #140d17black |
| Muted foreground | #605b62dimgray | #a39da4darkgray |
| Accent | #e2dde4gainsboro | #28222adarkslategray |
| Accent foreground | #4c404fdarkslategray | #c3b9c6silver |
| Destructive | #7b2d09saddlebrown | #f0753dtomato |
| Destructive foreground | #fad0bdpeachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #531c63indigo | #531c63indigo |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.56:1 | AAA |
| Text on card | 20.56:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 7.29:1 | AAA |
| Muted text | 5.53:1 | AA |
| Accent | 7.29:1 | AAA |
| Destructive | 6.63:1 | AA |
| Text on background | 20.06:1 | AAA |
| Text on card | 20.06:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 7.19:1 | AAA |
| Accent | 8.15:1 | AAA |
| Destructive | 7.35:1 | AAA |
Paste this into your globals.css to use Original in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.104 0.027 320.504);
--muted: oklch(0.941 0.015 318.314);
--muted-foreground: oklch(0.478 0.014 318.301);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.104 0.027 320.504);
--card: oklch(1 0 180);
--card-foreground: oklch(0.104 0.027 320.504);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.345 0.127 317.31);
--primary-foreground: oklch(0.86 0.068 318.249);
--secondary: oklch(0.904 0.011 318.318);
--secondary-foreground: oklch(0.388 0.03 318.25);
--accent: oklch(0.904 0.011 318.318);
--accent-foreground: oklch(0.388 0.03 318.25);
--destructive: oklch(0.407 0.117 41.214);
--destructive-foreground: oklch(0.889 0.054 46.264);
--ring: oklch(0.345 0.127 317.31);
--chart-1: oklch(0.345 0.127 317.31);
--chart-2: oklch(0.904 0.011 318.318);
--chart-3: oklch(0.904 0.011 318.318);
--chart-4: oklch(0.928 0.008 318.322);
--chart-5: oklch(0.346 0.132 317.188);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.027 318.874);
--foreground: oklch(1 0 180);
--muted: oklch(0.174 0.023 318.185);
--muted-foreground: oklch(0.703 0.013 318.312);
--popover: oklch(0.136 0.027 318.874);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.136 0.027 318.874);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.345 0.127 317.31);
--primary-foreground: oklch(0.86 0.068 318.249);
--secondary: oklch(0.263 0.016 318.268);
--secondary-foreground: oklch(0.797 0.021 318.304);
--accent: oklch(0.263 0.016 318.268);
--accent-foreground: oklch(0.797 0.021 318.304);
--destructive: oklch(0.699 0.167 43.58);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.345 0.127 317.31);
--chart-1: oklch(0.345 0.127 317.31);
--chart-2: oklch(0.263 0.016 318.268);
--chart-3: oklch(0.263 0.016 318.268);
--chart-4: oklch(0.294 0.019 318.265);
--chart-5: oklch(0.346 0.132 317.188);
}