Prestigious for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.99:1AAA
Text on card19.67:1AAA
Primary button7.07:1AAA
Secondary button6.70:1AA
Muted text6.63:1AA
Accent6.70:1AA
Destructive6.36:1AA
Dark mode
Text on background20.46:1AAA
Text on card20.20:1AAA
Primary button7.07:1AAA
Secondary button6.70:1AA
Muted text8.22:1AAA
Accent6.70:1AA
Destructive3.58:1AA Large

CSS variables

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);
}