Professional is a shadcn/ui theme built around a deep purple primary color (#200e20) with deep pink accents (#200e16). The light mode uses a neutral background (#fefbfe). Dark mode keeps the deep purple primary (#200e20) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #000000black |
| Foreground | #140514black | #ffffffwhite |
| Card | #fefbfewhite | #000000black |
| Card foreground | #140514black | #ffffffwhite |
| Popover | #fefbfewhite | #000000black |
| Popover foreground | #140514black | #ffffffwhite |
| Primary | #200e20black | #200e20black |
| Primary foreground | #d090cdplum | #d090cdplum |
| Secondary | #180e20black | #180e20black |
| Secondary foreground | #b290d0mediumpurple | #b290d0mediumpurple |
| Muted | #e8e2eelavender | #17111dblack |
| Muted foreground | #524b58darkslategray | #aea7b4darkgray |
| Accent | #200e16black | #200e16black |
| Accent foreground | #d090aerosybrown | #d090aerosybrown |
| Destructive | #9f220ffirebrick | #d72e14firebrick |
| Destructive foreground | #fce6e3mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #200e20black | #200e20black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.22:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 7.47:1 | AAA |
| Secondary button | 6.95:1 | AA |
| Muted text | 6.59:1 | AA |
| Accent | 7.29:1 | AAA |
| Destructive | 6.50:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 7.47:1 | AAA |
| Secondary button | 6.95:1 | AA |
| Muted text | 7.93:1 | AAA |
| Accent | 7.29:1 | AAA |
| Destructive | 4.90:1 | AA |
Paste this into your globals.css to use Professional in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.006 326.592);
--foreground: oklch(0.152 0.041 328.537);
--muted: oklch(0.921 0.019 309.584);
--muted-foreground: oklch(0.425 0.023 309.249);
--popover: oklch(0.991 0.006 326.592);
--popover-foreground: oklch(0.152 0.041 328.537);
--card: oklch(0.991 0.006 326.592);
--card-foreground: oklch(0.152 0.041 328.537);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.198 0.044 328.272);
--primary-foreground: oklch(0.737 0.111 327.756);
--secondary: oklch(0.186 0.039 307.605);
--secondary-foreground: oklch(0.708 0.097 308.406);
--accent: oklch(0.194 0.034 351.361);
--accent-foreground: oklch(0.725 0.085 349.875);
--destructive: oklch(0.459 0.163 31.601);
--destructive-foreground: oklch(0.943 0.025 28.085);
--ring: oklch(0.198 0.044 328.272);
--chart-1: oklch(0.198 0.044 328.272);
--chart-2: oklch(0.186 0.039 307.605);
--chart-3: oklch(0.194 0.034 351.361);
--chart-4: oklch(0.214 0.049 307.327);
--chart-5: oklch(0.199 0.047 328.38);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.191 0.027 308.338);
--muted-foreground: oklch(0.738 0.02 309.515);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.198 0.044 328.272);
--primary-foreground: oklch(0.737 0.111 327.756);
--secondary: oklch(0.186 0.039 307.605);
--secondary-foreground: oklch(0.708 0.097 308.406);
--accent: oklch(0.194 0.034 351.361);
--accent-foreground: oklch(0.725 0.085 349.875);
--destructive: oklch(0.572 0.207 31.531);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.198 0.044 328.272);
--chart-1: oklch(0.198 0.044 328.272);
--chart-2: oklch(0.186 0.039 307.605);
--chart-3: oklch(0.194 0.034 351.361);
--chart-4: oklch(0.214 0.049 307.327);
--chart-5: oklch(0.199 0.047 328.38);
}