Velvet Mauve Meadowlark for shadcn/ui

Velvet Mauve Meadowlark is a shadcn/ui theme built around a pink primary color (#6d2c56) with green accents (#2c6d43). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the pink primary (#6d2c56) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcf8fasnow
#000000black
Foreground
#000000black
#faf5f8whitesmoke
Card
#faf5f8whitesmoke
#030303black
Card foreground
#000000black
#fbf8fasnow
Popover
#fcf8fasnow
#000000black
Popover foreground
#000000black
#faf5f8whitesmoke
Primary
#6d2c56purple
#6d2c56purple
Primary foreground
#f0dbe9mistyrose
#f0dbe9mistyrose
Secondary
#2c6d43darkslategray
#2c6d43darkslategray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d7eadegainsboro
#15281cblack
Muted foreground
#4d5c52darkslategray
#a3b2a9darkgray
Accent
#2c6d43darkslategray
#2c6d43darkslategray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#c34213firebrick
#d14715chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e6e5e6gainsboro
#201e1fblack
Input
#e6e5e6gainsboro
#201e1fblack
Ring
#6d2c56purple
#6d2c56purple

Contrast

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

Light mode
Text on background19.94:1AAA
Text on card19.43:1AAA
Primary button7.46:1AAA
Secondary button6.24:1AA
Muted text5.62:1AA
Accent6.24:1AA
Destructive5.10:1AA
Dark mode
Text on background19.48:1AAA
Text on card19.60:1AAA
Primary button7.46:1AAA
Secondary button6.24:1AA
Muted text7.01:1AAA
Accent6.24:1AA
Destructive4.55:1AA

CSS variables

Paste this into your globals.css to use Velvet Mauve Meadowlark in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.005 338.094);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.919 0.026 157.378);
  --muted-foreground: oklch(0.458 0.025 156.805);
  --popover: oklch(0.983 0.005 338.094);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.974 0.008 338.149);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.923 0.002 338.033);
  --input: oklch(0.923 0.002 338.033);
  --primary: oklch(0.399 0.106 343.161);
  --primary-foreground: oklch(0.912 0.03 338.651);
  --secondary: oklch(0.48 0.094 152.617);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.48 0.094 152.617);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.557 0.173 37.735);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.399 0.106 343.161);
  --chart-1: oklch(0.399 0.106 343.161);
  --chart-2: oklch(0.48 0.094 152.617);
  --chart-3: oklch(0.48 0.094 152.617);
  --chart-4: oklch(0.513 0.102 152.544);
  --chart-5: oklch(0.4 0.112 343.517);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.975 0.006 338.118);
  --muted: oklch(0.256 0.034 154.73);
  --muted-foreground: oklch(0.75 0.022 157.36);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.975 0.006 338.118);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.983 0.004 338.073);
  --border: oklch(0.236 0.004 338.297);
  --input: oklch(0.236 0.004 338.297);
  --primary: oklch(0.399 0.106 343.161);
  --primary-foreground: oklch(0.912 0.03 338.651);
  --secondary: oklch(0.48 0.094 152.617);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.48 0.094 152.617);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.585 0.183 37.658);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.399 0.106 343.161);
  --chart-1: oklch(0.399 0.106 343.161);
  --chart-2: oklch(0.48 0.094 152.617);
  --chart-3: oklch(0.48 0.094 152.617);
  --chart-4: oklch(0.513 0.102 152.544);
  --chart-5: oklch(0.4 0.112 343.517);
}