Genuine for shadcn/ui

Genuine is a shadcn/ui theme built around a muted purple primary color (#ae9fb2) with muted purple accents (#b29fac). The light mode uses a neutral background (#fbf8fb). Dark mode keeps the muted purple primary (#ae9fb2) on a purple-tinted background (#0d060f).

Color palette

TokenLightDark
Background
#fbf8fbsnow
#0d060fblack
Foreground
#070109black
#fbf8fbsnow
Card
#f9f5faghostwhite
#100712black
Card foreground
#040105black
#fdfcfdwhite
Popover
#f9f5faghostwhite
#100712black
Popover foreground
#040105black
#fdfcfdwhite
Primary
#ae9fb2darkgray
#ae9fb2darkgray
Primary foreground
#100e11black
#100e11black
Secondary
#a49fb2darkgray
#a49fb2darkgray
Secondary foreground
#0f0e11black
#0f0e11black
Muted
#e1dee8gainsboro
#1a1721black
Muted foreground
#58575cdimgray
#a5a3a8darkgray
Accent
#b29facdarkgray
#b29facdarkgray
Accent foreground
#110e10black
#110e10black
Destructive
#641a02maroon
#fb5118orangered
Destructive foreground
#fdb39bburlywood
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ae9fb2darkgray
#ae9fb2darkgray

Contrast

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

Light mode
Text on background19.62:1AAA
Text on card19.23:1AAA
Primary button7.67:1AAA
Secondary button7.49:1AAA
Muted text5.37:1AA
Accent7.70:1AAA
Destructive7.12:1AAA
Dark mode
Text on background19.00:1AAA
Text on card19.31:1AAA
Primary button7.67:1AAA
Secondary button7.49:1AAA
Muted text7.08:1AAA
Accent7.70:1AAA
Destructive3.33:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.005 319.446);
  --foreground: oklch(0.102 0.034 322.148);
  --muted: oklch(0.905 0.015 299.764);
  --muted-foreground: oklch(0.459 0.009 299.715);
  --popover: oklch(0.974 0.007 319.446);
  --popover-foreground: oklch(0.081 0.027 322.148);
  --card: oklch(0.974 0.007 319.446);
  --card-foreground: oklch(0.081 0.027 322.148);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.721 0.032 319.456);
  --primary-foreground: oklch(0.167 0.008 319.457);
  --secondary: oklch(0.713 0.028 299.373);
  --secondary-foreground: oklch(0.165 0.007 299.306);
  --accent: oklch(0.722 0.029 336.606);
  --accent-foreground: oklch(0.167 0.007 336.677);
  --destructive: oklch(0.339 0.111 37.147);
  --destructive-foreground: oklch(0.832 0.094 39.208);
  --ring: oklch(0.721 0.032 319.456);
  --chart-1: oklch(0.721 0.032 319.456);
  --chart-2: oklch(0.713 0.028 299.373);
  --chart-3: oklch(0.722 0.029 336.606);
  --chart-4: oklch(0.739 0.025 299.459);
  --chart-5: oklch(0.718 0.041 319.459);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.024 320.02);
  --foreground: oklch(0.983 0.005 319.446);
  --muted: oklch(0.212 0.021 298.325);
  --muted-foreground: oklch(0.719 0.008 299.854);
  --popover: oklch(0.149 0.028 319.632);
  --popover-foreground: oklch(0.992 0.002 319.445);
  --card: oklch(0.149 0.028 319.632);
  --card-foreground: oklch(0.992 0.002 319.445);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.721 0.032 319.456);
  --primary-foreground: oklch(0.167 0.008 319.457);
  --secondary: oklch(0.713 0.028 299.373);
  --secondary-foreground: oklch(0.165 0.007 299.306);
  --accent: oklch(0.722 0.029 336.606);
  --accent-foreground: oklch(0.167 0.007 336.677);
  --destructive: oklch(0.666 0.216 36.468);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.721 0.032 319.456);
  --chart-1: oklch(0.721 0.032 319.456);
  --chart-2: oklch(0.713 0.028 299.373);
  --chart-3: oklch(0.722 0.029 336.606);
  --chart-4: oklch(0.739 0.025 299.459);
  --chart-5: oklch(0.718 0.041 319.459);
}