Lavender Blue Shadow Dove for shadcn/ui

Lavender Blue Shadow Dove is a shadcn/ui theme built around a vivid light indigo primary color (#938efb) with muted light indigo accents (#c9c9d4). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the vivid light indigo primary (#938efb) on a neutral background (#020203).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#020203black
Foreground
#050415black
#f9f9fbghostwhite
Card
#f8f7fcghostwhite
#030307black
Card foreground
#040311black
#fcfcfdwhite
Popover
#fbfbfeghostwhite
#020203black
Popover foreground
#050415black
#f9f9fbghostwhite
Primary
#938efbmediumpurple
#938efbmediumpurple
Primary foreground
#070354midnightblue
#070354midnightblue
Secondary
#dedee3gainsboro
#2a2a37darkslategray
Secondary foreground
#43424cdarkslategray
#c3c2d1silver
Muted
#f0f0f4whitesmoke
#0b0b0fblack
Muted foreground
#5d5c66dimgray
#9a99a3darkgray
Accent
#c9c9d4lightgrey
#33314edarkslategray
Accent foreground
#302f3cdarkslategray
#d1d0e2lightgrey
Destructive
#951209darkred
#e71c0dred
Destructive foreground
#fcd6d4mistyrose
#ffffffwhite
Border
#e8e8eelavender
#1f1e29black
Input
#e8e8eelavender
#1f1e29black
Ring
#938efbmediumpurple
#938efbmediumpurple

Contrast

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

Light mode
Text on background19.68:1AAA
Text on card19.23:1AAA
Primary button6.51:1AA
Secondary button7.39:1AAA
Muted text5.80:1AA
Accent7.99:1AAA
Destructive6.61:1AA
Dark mode
Text on background19.75:1AAA
Text on card20.04:1AAA
Primary button6.51:1AA
Secondary button8.06:1AAA
Muted text6.99:1AA
Accent8.18:1AAA
Destructive4.58:1AA

CSS variables

Paste this into your globals.css to use Lavender Blue Shadow Dove in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.003 288.647);
  --foreground: oklch(0.124 0.041 281.981);
  --muted: oklch(0.957 0.006 288.597);
  --muted-foreground: oklch(0.479 0.015 288.1);
  --popover: oklch(0.989 0.003 288.647);
  --popover-foreground: oklch(0.124 0.041 281.981);
  --card: oklch(0.979 0.007 288.583);
  --card-foreground: oklch(0.114 0.036 282.716);
  --border: oklch(0.932 0.008 288.545);
  --input: oklch(0.932 0.008 288.545);
  --primary: oklch(0.698 0.157 283.826);
  --primary-foreground: oklch(0.21 0.133 268.905);
  --secondary: oklch(0.903 0.006 288.59);
  --secondary-foreground: oklch(0.385 0.017 287.876);
  --accent: oklch(0.839 0.016 288.35);
  --accent-foreground: oklch(0.312 0.023 287.284);
  --destructive: oklch(0.43 0.165 29.715);
  --destructive-foreground: oklch(0.909 0.043 22.801);
  --ring: oklch(0.698 0.157 283.826);
  --chart-1: oklch(0.698 0.157 283.826);
  --chart-2: oklch(0.903 0.006 288.59);
  --chart-3: oklch(0.839 0.016 288.35);
  --chart-4: oklch(0.927 0.004 288.623);
  --chart-5: oklch(0.695 0.162 283.611);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.082 0.01 286.747);
  --foreground: oklch(0.983 0.002 288.668);
  --muted: oklch(0.15 0.009 287.519);
  --muted-foreground: oklch(0.687 0.014 288.325);
  --popover: oklch(0.082 0.01 286.747);
  --popover-foreground: oklch(0.983 0.002 288.668);
  --card: oklch(0.104 0.013 286.747);
  --card-foreground: oklch(0.991 0.001 288.689);
  --border: oklch(0.242 0.02 287.066);
  --input: oklch(0.242 0.02 287.066);
  --primary: oklch(0.698 0.157 283.826);
  --primary-foreground: oklch(0.21 0.133 268.905);
  --secondary: oklch(0.29 0.025 287.051);
  --secondary-foreground: oklch(0.819 0.021 288.229);
  --accent: oklch(0.329 0.051 285.49);
  --accent-foreground: oklch(0.863 0.024 288.181);
  --destructive: oklch(0.591 0.232 29.755);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.698 0.157 283.826);
  --chart-1: oklch(0.698 0.157 283.826);
  --chart-2: oklch(0.29 0.025 287.051);
  --chart-3: oklch(0.329 0.051 285.49);
  --chart-4: oklch(0.318 0.028 286.99);
  --chart-5: oklch(0.695 0.162 283.611);
}