Feminine for shadcn/ui

Feminine is a shadcn/ui theme built around a purple primary color (#ce78ce) with pink accents (#ce78a3). The light mode uses a neutral background (#fcf8fc). Dark mode keeps the purple primary (#ce78ce) on a neutral background (#080308).

Color palette

TokenLightDark
Background
#fcf8fcsnow
#080308black
Foreground
#0c040cblack
#f8f7f8whitesmoke
Card
#faf5faghostwhite
#0b040bblack
Card foreground
#080208black
#faf9fasnow
Popover
#faf5faghostwhite
#0b040bblack
Popover foreground
#080208black
#faf9fasnow
Primary
#ce78ceorchid
#ce78ceorchid
Primary foreground
#0f050fblack
#0f050fblack
Secondary
#a378cemediumpurple
#a378cemediumpurple
Secondary foreground
#000000black
#000000black
Muted
#ebe8edlavender
#141217black
Muted foreground
#4a484cdarkslategray
#b5b3b7silver
Accent
#ce78a3palevioletred
#ce78a3palevioletred
Accent foreground
#0f050ablack
#0f050ablack
Destructive
#c2450fchocolate
#ef652achocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ce78ceorchid
#ce78ceorchid

Contrast

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

Light mode
Text on background19.23:1AAA
Text on card19.04:1AAA
Primary button6.88:1AA
Secondary button6.14:1AA
Muted text7.45:1AAA
Accent6.54:1AA
Destructive5.05:1AA
Dark mode
Text on background19.18:1AAA
Text on card19.29:1AAA
Primary button6.88:1AA
Secondary button6.14:1AA
Muted text8.93:1AAA
Accent6.54:1AA
Destructive6.55:1AA

CSS variables

Paste this into your globals.css to use Feminine in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.006 325.621);
  --foreground: oklch(0.125 0.027 327.062);
  --muted: oklch(0.935 0.006 308.384);
  --muted-foreground: oklch(0.404 0.008 308.245);
  --popover: oklch(0.975 0.009 325.644);
  --popover-foreground: oklch(0.109 0.024 327.055);
  --card: oklch(0.975 0.009 325.644);
  --card-foreground: oklch(0.109 0.024 327.055);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.696 0.154 327.067);
  --primary-foreground: oklch(0.14 0.028 326.94);
  --secondary: oklch(0.65 0.132 306.082);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.679 0.119 349.403);
  --accent-foreground: oklch(0.137 0.022 346.796);
  --destructive: oklch(0.559 0.171 39.27);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.696 0.154 327.067);
  --chart-1: oklch(0.696 0.154 327.067);
  --chart-2: oklch(0.65 0.132 306.082);
  --chart-3: oklch(0.679 0.119 349.403);
  --chart-4: oklch(0.679 0.121 306.417);
  --chart-5: oklch(0.697 0.163 327.144);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.022 326.972);
  --foreground: oklch(0.976 0.003 325.596);
  --muted: oklch(0.188 0.01 307.893);
  --muted-foreground: oklch(0.769 0.007 308.364);
  --popover: oklch(0.125 0.026 326.977);
  --popover-foreground: oklch(0.984 0.002 325.589);
  --card: oklch(0.125 0.026 326.977);
  --card-foreground: oklch(0.984 0.002 325.589);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.696 0.154 327.067);
  --primary-foreground: oklch(0.14 0.028 326.94);
  --secondary: oklch(0.65 0.132 306.082);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.679 0.119 349.403);
  --accent-foreground: oklch(0.137 0.022 346.796);
  --destructive: oklch(0.671 0.184 41.094);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.696 0.154 327.067);
  --chart-1: oklch(0.696 0.154 327.067);
  --chart-2: oklch(0.65 0.132 306.082);
  --chart-3: oklch(0.679 0.119 349.403);
  --chart-4: oklch(0.679 0.121 306.417);
  --chart-5: oklch(0.697 0.163 327.144);
}