Prestigious is a shadcn/ui theme built around a deep purple primary color (#6a1562) with deep green accents (#156a1e). The light mode uses a neutral background (#fefbfe). Dark mode keeps the deep purple primary (#6a1562) on a neutral background (#070306).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #070306black |
| Foreground | #080208black | #ffffffwhite |
| Card | #fdf7fcsnow | #0a050ablack |
| Card foreground | #040104black | #ffffffwhite |
| Popover | #fefbfewhite | #070306black |
| Popover foreground | #080208black | #ffffffwhite |
| Primary | #6a1562purple | #6a1562purple |
| Primary foreground | #f2bfedthistle | #f2bfedthistle |
| Secondary | #156a1eforestgreen | #156a1eforestgreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e3ede4gainsboro | #121c13black |
| Muted foreground | #4b534cdarkslategray | #acb4addarkgray |
| Accent | #156a1eforestgreen | #156a1eforestgreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ab0f07firebrick | #f7453btomato |
| Destructive foreground | #fee8e7mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6a1562purple | #6a1562purple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.99:1 | AAA |
| Text on card | 19.67:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 6.70:1 | AA |
| Muted text | 6.63:1 | AA |
| Accent | 6.70:1 | AA |
| Destructive | 6.36:1 | AA |
| Text on background | 20.46:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 6.70:1 | AA |
| Muted text | 8.22:1 | AAA |
| Accent | 6.70:1 | AA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Prestigious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 328.64);
--foreground: oklch(0.107 0.029 330.084);
--muted: oklch(0.937 0.017 148.391);
--muted-foreground: oklch(0.433 0.015 148.192);
--popover: oklch(0.991 0.004 328.64);
--popover-foreground: oklch(0.107 0.029 330.084);
--card: oklch(0.982 0.008 328.687);
--card-foreground: oklch(0.085 0.023 330.084);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.375 0.147 332.638);
--primary-foreground: oklch(0.865 0.084 329.613);
--secondary: oklch(0.461 0.136 144.178);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.461 0.136 144.178);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.472 0.186 29.492);
--destructive-foreground: oklch(0.948 0.024 21.229);
--ring: oklch(0.375 0.147 332.638);
--chart-1: oklch(0.375 0.147 332.638);
--chart-2: oklch(0.461 0.136 144.178);
--chart-3: oklch(0.461 0.136 144.178);
--chart-4: oklch(0.499 0.149 144.12);
--chart-5: oklch(0.378 0.151 332.759);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.111 0.014 329.355);
--foreground: oklch(1 0 180);
--muted: oklch(0.214 0.024 147.249);
--muted-foreground: oklch(0.761 0.013 148.397);
--popover: oklch(0.111 0.014 329.355);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.127 0.016 329.355);
--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.375 0.147 332.638);
--primary-foreground: oklch(0.865 0.084 329.613);
--secondary: oklch(0.461 0.136 144.178);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.461 0.136 144.178);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.649 0.216 27.904);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.375 0.147 332.638);
--chart-1: oklch(0.375 0.147 332.638);
--chart-2: oklch(0.461 0.136 144.178);
--chart-3: oklch(0.461 0.136 144.178);
--chart-4: oklch(0.499 0.149 144.12);
--chart-5: oklch(0.378 0.151 332.759);
}