Yeasty Velvet Vortex for shadcn/ui

Yeasty Velvet Vortex is a shadcn/ui theme built around a vivid deep violet primary color (#59047b) with muted light violet accents (#d2c7d6). The light mode uses a neutral background (#fbf8fc). Dark mode keeps the vivid deep violet primary (#59047b) on a neutral background (#060307).

Color palette

TokenLightDark
Background
#fbf8fcghostwhite
#060307black
Foreground
#070209black
#faf9fbghostwhite
Card
#f9f5faghostwhite
#09040bblack
Card foreground
#030104black
#fdfcfdwhite
Popover
#fbf8fcghostwhite
#060307black
Popover foreground
#070209black
#faf9fbghostwhite
Primary
#59047bindigo
#59047bindigo
Primary foreground
#e8b5fcplum
#e8b5fcplum
Secondary
#e6e4e7gainsboro
#211924black
Secondary foreground
#4f4752darkslategray
#bdabc4silver
Muted
#ece8edlavender
#161217black
Muted foreground
#605b62dimgray
#a29da4darkgray
Accent
#d2c7d6thistle
#302136darkslategray
Accent foreground
#392e3edarkslategray
#cbb6d3thistle
Destructive
#a9190ffirebrick
#e62214crimson
Destructive foreground
#fdedeclinen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#59047bindigo
#59047bindigo

Contrast

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

Light mode
Text on background19.50:1AAA
Text on card19.21:1AAA
Primary button7.17:1AAA
Secondary button7.04:1AAA
Muted text5.46:1AA
Accent7.89:1AAA
Destructive6.53:1AA
Dark mode
Text on background19.55:1AAA
Text on card19.83:1AAA
Primary button7.17:1AAA
Secondary button7.95:1AAA
Muted text6.98:1AA
Accent8.02:1AAA
Destructive4.56:1AA

CSS variables

Paste this into your globals.css to use Yeasty Velvet Vortex in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.006 316.592);
  --foreground: oklch(0.102 0.029 319.012);
  --muted: oklch(0.935 0.008 316.583);
  --muted-foreground: oklch(0.477 0.014 316.525);
  --popover: oklch(0.982 0.006 316.592);
  --popover-foreground: oklch(0.102 0.029 319.012);
  --card: oklch(0.974 0.008 316.584);
  --card-foreground: oklch(0.081 0.023 319.012);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.356 0.174 312.185);
  --primary-foreground: oklch(0.843 0.111 316.212);
  --secondary: oklch(0.921 0.006 316.591);
  --secondary-foreground: oklch(0.41 0.02 316.465);
  --accent: oklch(0.843 0.023 316.529);
  --accent-foreground: oklch(0.319 0.032 316.311);
  --destructive: oklch(0.472 0.179 29.639);
  --destructive-foreground: oklch(0.96 0.017 22.425);
  --ring: oklch(0.356 0.174 312.185);
  --chart-1: oklch(0.356 0.174 312.185);
  --chart-2: oklch(0.921 0.006 316.591);
  --chart-3: oklch(0.843 0.023 316.529);
  --chart-4: oklch(0.945 0.004 316.597);
  --chart-5: oklch(0.358 0.177 311.96);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.107 0.019 318.202);
  --foreground: oklch(0.983 0.004 316.596);
  --muted: oklch(0.188 0.012 316.42);
  --muted-foreground: oklch(0.702 0.012 316.557);
  --popover: oklch(0.107 0.019 318.202);
  --popover-foreground: oklch(0.983 0.004 316.596);
  --card: oklch(0.122 0.022 318.063);
  --card-foreground: oklch(0.991 0.002 316.603);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.356 0.174 312.185);
  --primary-foreground: oklch(0.843 0.111 316.212);
  --secondary: oklch(0.228 0.024 316.299);
  --secondary-foreground: oklch(0.764 0.041 316.451);
  --accent: oklch(0.274 0.044 316.105);
  --accent-foreground: oklch(0.802 0.047 316.439);
  --destructive: oklch(0.592 0.227 29.705);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.356 0.174 312.185);
  --chart-1: oklch(0.356 0.174 312.185);
  --chart-2: oklch(0.228 0.024 316.299);
  --chart-3: oklch(0.274 0.044 316.105);
  --chart-4: oklch(0.259 0.029 316.276);
  --chart-5: oklch(0.358 0.177 311.96);
}