Profuse for shadcn/ui

Profuse is a shadcn/ui theme built around a light violet primary color (#e0d8f8) with light green accents (#d8f8e0). The light mode uses a neutral background (#f8f7fd). Dark mode keeps the light violet primary (#e0d8f8) on a neutral background (#040307).

Color palette

TokenLightDark
Background
#f8f7fdghostwhite
#040307black
Foreground
#000000black
#fcfcfdwhite
Card
#f8f7fdghostwhite
#040307black
Card foreground
#000000black
#fcfcfdwhite
Popover
#f8f7fdghostwhite
#040307black
Popover foreground
#000000black
#fcfcfdwhite
Primary
#e0d8f8lavender
#e0d8f8lavender
Primary foreground
#331787indigo
#331787indigo
Secondary
#f8e0d8antiquewhite
#f8e0d8antiquewhite
Secondary foreground
#873317saddlebrown
#873317saddlebrown
Muted
#ddd7d5gainsboro
#2a2422darkslategray
Muted foreground
#5e4f4adarkolivegreen
#b5a6a1darkgray
Accent
#d8f8e0gainsboro
#d8f8e0gainsboro
Accent foreground
#083012black
#083012black
Destructive
#b5340dfirebrick
#ef501forangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e0d8f8lavender
#e0d8f8lavender

Contrast

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

Light mode
Text on background19.74:1AAA
Text on card19.74:1AAA
Primary button9.49:1AAA
Secondary button6.61:1AA
Muted text5.46:1AA
Accent12.80:1AAA
Destructive6.05:1AA
Dark mode
Text on background20.02:1AAA
Text on card20.02:1AAA
Primary button9.49:1AAA
Secondary button6.61:1AA
Muted text6.47:1AA
Accent12.80:1AAA
Destructive3.59:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.979 0.008 297.688);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.883 0.007 39.458);
  --muted-foreground: oklch(0.442 0.022 39.286);
  --popover: oklch(0.979 0.008 297.688);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.979 0.008 297.688);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.898 0.045 296.93);
  --primary-foreground: oklch(0.333 0.169 283.787);
  --secondary: oklch(0.924 0.029 39.342);
  --secondary-foreground: oklch(0.437 0.122 38.044);
  --accent: oklch(0.95 0.047 153.006);
  --accent-foreground: oklch(0.273 0.069 147.997);
  --destructive: oklch(0.517 0.172 35.484);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.898 0.045 296.93);
  --chart-1: oklch(0.898 0.045 296.93);
  --chart-2: oklch(0.924 0.029 39.342);
  --chart-3: oklch(0.95 0.047 153.006);
  --chart-4: oklch(0.949 0.019 39.391);
  --chart-5: oklch(0.897 0.047 296.889);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.105 0.013 297.633);
  --foreground: oklch(0.991 0.002 297.782);
  --muted: oklch(0.267 0.009 39.33);
  --muted-foreground: oklch(0.736 0.019 39.365);
  --popover: oklch(0.105 0.013 297.633);
  --popover-foreground: oklch(0.991 0.002 297.782);
  --card: oklch(0.105 0.013 297.633);
  --card-foreground: oklch(0.991 0.002 297.782);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.898 0.045 296.93);
  --primary-foreground: oklch(0.333 0.169 283.787);
  --secondary: oklch(0.924 0.029 39.342);
  --secondary-foreground: oklch(0.437 0.122 38.044);
  --accent: oklch(0.95 0.047 153.006);
  --accent-foreground: oklch(0.273 0.069 147.997);
  --destructive: oklch(0.646 0.204 36.155);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.898 0.045 296.93);
  --chart-1: oklch(0.898 0.045 296.93);
  --chart-2: oklch(0.924 0.029 39.342);
  --chart-3: oklch(0.95 0.047 153.006);
  --chart-4: oklch(0.949 0.019 39.391);
  --chart-5: oklch(0.897 0.047 296.889);
}