Spectacular Purple Orangutan for shadcn/ui

Spectacular Purple Orangutan is a shadcn/ui theme built around a vivid violet primary color (#b80ef6) with vivid teal accents (#0ef6b8). The light mode uses a neutral background (#fcf6fd). Dark mode keeps the vivid violet primary (#b80ef6) on a neutral background (#030203).

Color palette

TokenLightDark
Background
#fcf6fdghostwhite
#030203black
Foreground
#0a030cblack
#fdfcfdwhite
Card
#faf2fdghostwhite
#060407black
Card foreground
#060208black
#ffffffwhite
Popover
#fcf6fdghostwhite
#030203black
Popover foreground
#0a030cblack
#fdfcfdwhite
Primary
#b80ef6darkviolet
#b80ef6darkviolet
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#f6b80eorange
#f6b80eorange
Secondary foreground
#362802black
#362802black
Muted
#f4f0e7linen
#18150bblack
Muted foreground
#6c6960dimgray
#9f9c93darkgray
Accent
#0ef6b8mediumspringgreen
#0ef6b8mediumspringgreen
Accent foreground
#023628darkgreen
#023628darkgreen
Destructive
#a72606firebrick
#f74418orangered
Destructive foreground
#fee7e1mistyrose
#ffffffwhite
Border
#ebeaeblavender
#1d1b1dblack
Input
#ebeaeblavender
#1d1b1dblack
Ring
#b80ef6darkviolet
#b80ef6darkviolet

Contrast

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

Light mode
Text on background19.17:1AAA
Text on card18.80:1AAA
Primary button4.72:1AA
Secondary button8.08:1AAA
Muted text4.82:1AA
Accent9.56:1AAA
Destructive6.04:1AA
Dark mode
Text on background20.25:1AAA
Text on card20.46:1AAA
Primary button4.72:1AA
Secondary button8.08:1AAA
Muted text6.64:1AA
Accent9.56:1AAA
Destructive3.62:1AA Large

CSS variables

Paste this into your globals.css to use Spectacular Purple Orangutan in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.011 317.164);
  --foreground: oklch(0.121 0.027 318.803);
  --muted: oklch(0.956 0.013 90.221);
  --muted-foreground: oklch(0.52 0.014 90.307);
  --popover: oklch(0.98 0.011 317.164);
  --popover-foreground: oklch(0.121 0.027 318.803);
  --card: oklch(0.97 0.016 317.151);
  --card-foreground: oklch(0.105 0.023 319.079);
  --border: oklch(0.938 0.003 317.183);
  --input: oklch(0.938 0.003 317.183);
  --primary: oklch(0.596 0.292 312.774);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.818 0.166 83.724);
  --secondary-foreground: oklch(0.286 0.056 87.632);
  --accent: oklch(0.864 0.177 166.399);
  --accent-foreground: oklch(0.297 0.058 169.38);
  --destructive: oklch(0.479 0.169 33.615);
  --destructive-foreground: oklch(0.945 0.026 34.3);
  --ring: oklch(0.596 0.292 312.774);
  --chart-1: oklch(0.596 0.292 312.774);
  --chart-2: oklch(0.818 0.166 83.724);
  --chart-3: oklch(0.864 0.177 166.399);
  --chart-4: oklch(0.828 0.165 85.237);
  --chart-5: oklch(0.6 0.296 312.515);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.088 0.01 318.178);
  --foreground: oklch(0.991 0.003 317.183);
  --muted: oklch(0.196 0.018 90.372);
  --muted-foreground: oklch(0.692 0.013 90.258);
  --popover: oklch(0.088 0.01 318.178);
  --popover-foreground: oklch(0.991 0.003 317.183);
  --card: oklch(0.11 0.012 318.178);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.225 0.005 317.139);
  --input: oklch(0.225 0.005 317.139);
  --primary: oklch(0.596 0.292 312.774);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.818 0.166 83.724);
  --secondary-foreground: oklch(0.286 0.056 87.632);
  --accent: oklch(0.864 0.177 166.399);
  --accent-foreground: oklch(0.297 0.058 169.38);
  --destructive: oklch(0.646 0.221 34.058);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.596 0.292 312.774);
  --chart-1: oklch(0.596 0.292 312.774);
  --chart-2: oklch(0.818 0.166 83.724);
  --chart-3: oklch(0.864 0.177 166.399);
  --chart-4: oklch(0.828 0.165 85.237);
  --chart-5: oklch(0.6 0.296 312.515);
}