Soulful for shadcn/ui

Soulful is a shadcn/ui theme built around a vivid light blue primary color (#e4effc) with vivid light green accents (#effce4). The light mode uses a neutral background (#f7fafc). Dark mode keeps the vivid light blue primary (#e4effc) on a neutral background (#010204).

Color palette

TokenLightDark
Background
#f7fafcghostwhite
#010204black
Foreground
#010204black
#f4f7fawhitesmoke
Card
#f7fafcghostwhite
#010204black
Card foreground
#010204black
#f4f7fawhitesmoke
Popover
#f7fafcghostwhite
#010204black
Popover foreground
#010204black
#f4f7fawhitesmoke
Primary
#e4effclavender
#e4effclavender
Primary foreground
#13509ateal
#13509ateal
Secondary
#fce4eflavenderblush
#fce4eflavenderblush
Secondary foreground
#9a1350brown
#9a1350brown
Muted
#eedde5mistyrose
#221119black
Muted foreground
#443b3fdarkslategray
#c4bbbfsilver
Accent
#effce4beige
#effce4beige
Accent foreground
#214008darkgreen
#214008darkgreen
Destructive
#d3560dchocolate
#dd5a0echocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e4effclavender
#e4effclavender

Contrast

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

Light mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button6.80:1AA
Secondary button6.75:1AA
Muted text8.30:1AAA
Accent10.90:1AAA
Destructive4.11:1AA Large
Dark mode
Text on background19.26:1AAA
Text on card19.26:1AAA
Primary button6.80:1AA
Secondary button6.75:1AA
Muted text9.63:1AAA
Accent10.90:1AAA
Destructive3.80:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.004 253.249);
  --foreground: oklch(0.088 0.01 245.082);
  --muted: oklch(0.914 0.02 348.411);
  --muted-foreground: oklch(0.364 0.014 348.839);
  --popover: oklch(0.983 0.004 253.249);
  --popover-foreground: oklch(0.088 0.01 245.082);
  --card: oklch(0.983 0.004 253.249);
  --card-foreground: oklch(0.088 0.01 245.082);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.946 0.021 253.362);
  --primary-foreground: oklch(0.438 0.136 256.367);
  --secondary: oklch(0.94 0.03 348.654);
  --secondary-foreground: oklch(0.452 0.171 1.178);
  --accent: oklch(0.974 0.034 130.773);
  --accent-foreground: oklch(0.333 0.088 134.584);
  --destructive: oklch(0.607 0.173 43.496);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.946 0.021 253.362);
  --chart-1: oklch(0.946 0.021 253.362);
  --chart-2: oklch(0.94 0.03 348.654);
  --chart-3: oklch(0.974 0.034 130.773);
  --chart-4: oklch(0.97 0.015 348.22);
  --chart-5: oklch(0.946 0.022 253.367);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.088 0.008 246.604);
  --foreground: oklch(0.975 0.005 253.256);
  --muted: oklch(0.205 0.03 351.539);
  --muted-foreground: oklch(0.8 0.011 348.201);
  --popover: oklch(0.088 0.008 246.604);
  --popover-foreground: oklch(0.975 0.005 253.256);
  --card: oklch(0.088 0.008 246.604);
  --card-foreground: oklch(0.975 0.005 253.256);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.946 0.021 253.362);
  --primary-foreground: oklch(0.438 0.136 256.367);
  --secondary: oklch(0.94 0.03 348.654);
  --secondary-foreground: oklch(0.452 0.171 1.178);
  --accent: oklch(0.974 0.034 130.773);
  --accent-foreground: oklch(0.333 0.088 134.584);
  --destructive: oklch(0.627 0.18 43.413);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.946 0.021 253.362);
  --chart-1: oklch(0.946 0.021 253.362);
  --chart-2: oklch(0.94 0.03 348.654);
  --chart-3: oklch(0.974 0.034 130.773);
  --chart-4: oklch(0.97 0.015 348.22);
  --chart-5: oklch(0.946 0.022 253.367);
}