Bowed for shadcn/ui

Bowed is a shadcn/ui theme built around a muted light violet primary color (#c8c2cc) with muted light purple accents (#ccc2cb). The light mode uses a neutral background (#faf8fc). Dark mode keeps the muted light violet primary (#c8c2cc) on a violet-tinted background (#0b050f).

Color palette

TokenLightDark
Background
#faf8fcghostwhite
#0b050fblack
Foreground
#09020dblack
#fdfcfdwhite
Card
#f8f4fbghostwhite
#0e0613black
Card foreground
#060109black
#ffffffwhite
Popover
#f8f4fbghostwhite
#0e0613black
Popover foreground
#060109black
#ffffffwhite
Primary
#c8c2ccsilver
#c8c2ccsilver
Primary foreground
#2f2a32darkslategray
#2f2a32darkslategray
Secondary
#c3c2ccsilver
#c3c2ccsilver
Secondary foreground
#2b2a32darkslategray
#2b2a32darkslategray
Muted
#d7d5e7gainsboro
#1a182ablack
Muted foreground
#3e3d4ddarkslategray
#b4b2c2silver
Accent
#ccc2cbsilver
#ccc2cbsilver
Accent foreground
#322a31darkslategray
#322a31darkslategray
Destructive
#642402maroon
#fb7832tomato
Destructive foreground
#fdbd9bburlywood
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c8c2ccsilver
#c8c2ccsilver

Contrast

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

Light mode
Text on background19.35:1AAA
Text on card19.00:1AAA
Primary button8.02:1AAA
Secondary button8.03:1AAA
Muted text7.34:1AAA
Accent8.02:1AAA
Destructive7.18:1AAA
Dark mode
Text on background19.65:1AAA
Text on card19.88:1AAA
Primary button8.02:1AAA
Secondary button8.03:1AAA
Muted text8.33:1AAA
Accent8.02:1AAA
Destructive7.84:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.007 312.307);
  --foreground: oklch(0.113 0.036 314.317);
  --muted: oklch(0.88 0.024 290.484);
  --muted-foreground: oklch(0.367 0.028 289.511);
  --popover: oklch(0.972 0.01 312.281);
  --popover-foreground: oklch(0.099 0.031 314.949);
  --card: oklch(0.972 0.01 312.281);
  --card-foreground: oklch(0.099 0.031 314.949);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.822 0.015 312.218);
  --primary-foreground: oklch(0.293 0.016 311.946);
  --secondary: oklch(0.817 0.014 290.688);
  --secondary-foreground: oklch(0.288 0.015 290.014);
  --accent: oklch(0.825 0.017 328.815);
  --accent-foreground: oklch(0.296 0.018 329.233);
  --destructive: oklch(0.352 0.101 43.547);
  --destructive-foreground: oklch(0.849 0.087 49.449);
  --ring: oklch(0.822 0.015 312.218);
  --chart-1: oklch(0.822 0.015 312.218);
  --chart-2: oklch(0.817 0.014 290.688);
  --chart-3: oklch(0.825 0.017 328.815);
  --chart-4: oklch(0.843 0.012 290.744);
  --chart-5: oklch(0.819 0.021 312.171);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.133 0.026 312.375);
  --foreground: oklch(0.991 0.003 312.339);
  --muted: oklch(0.221 0.035 287.802);
  --muted-foreground: oklch(0.77 0.023 290.435);
  --popover: oklch(0.144 0.03 311.361);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.144 0.03 311.361);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.822 0.015 312.218);
  --primary-foreground: oklch(0.293 0.016 311.946);
  --secondary: oklch(0.817 0.014 290.688);
  --secondary-foreground: oklch(0.288 0.015 290.014);
  --accent: oklch(0.825 0.017 328.815);
  --accent-foreground: oklch(0.296 0.018 329.233);
  --destructive: oklch(0.717 0.178 45.478);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.822 0.015 312.218);
  --chart-1: oklch(0.822 0.015 312.218);
  --chart-2: oklch(0.817 0.014 290.688);
  --chart-3: oklch(0.825 0.017 328.815);
  --chart-4: oklch(0.843 0.012 290.744);
  --chart-5: oklch(0.819 0.021 312.171);
}