Outgoing for shadcn/ui

Outgoing is a shadcn/ui theme built around a muted light violet primary color (#e3e1e5) with muted light purple accents (#e5e1e5). The light mode uses a neutral background (#faf7fd). Dark mode keeps the muted light violet primary (#e3e1e5) on a violet-tinted background (#08040b).

Color palette

TokenLightDark
Background
#faf7fdghostwhite
#08040bblack
Foreground
#000000black
#f7f6f8whitesmoke
Card
#faf7fdghostwhite
#08040bblack
Card foreground
#000000black
#f7f6f8whitesmoke
Popover
#faf7fdghostwhite
#08040bblack
Popover foreground
#000000black
#f7f6f8whitesmoke
Primary
#e3e1e5gainsboro
#e3e1e5gainsboro
Primary foreground
#4a4450darkslategray
#4a4450darkslategray
Secondary
#e1e1e5gainsboro
#e1e1e5gainsboro
Secondary foreground
#444450darkslategray
#444450darkslategray
Muted
#ebebf5lavender
#0b0a14black
Muted foreground
#444346darkslategray
#b9b9bcsilver
Accent
#e5e1e5gainsboro
#e5e1e5gainsboro
Accent foreground
#50444fdarkslategray
#50444fdarkslategray
Destructive
#973e11saddlebrown
#cf5417chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e3e1e5gainsboro
#e3e1e5gainsboro

Contrast

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

Light mode
Text on background19.80:1AAA
Text on card19.80:1AAA
Primary button7.22:1AAA
Secondary button7.34:1AAA
Muted text8.28:1AAA
Accent7.10:1AAA
Destructive6.96:1AA
Dark mode
Text on background18.87:1AAA
Text on card18.87:1AAA
Primary button7.22:1AAA
Secondary button7.34:1AAA
Muted text10.03:1AAA
Accent7.10:1AAA
Destructive4.26:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.008 309.706);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.943 0.013 287.681);
  --muted-foreground: oklch(0.386 0.005 287.718);
  --popover: oklch(0.98 0.008 309.706);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.98 0.008 309.706);
  --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.912 0.007 309.714);
  --primary-foreground: oklch(0.397 0.021 309.257);
  --secondary: oklch(0.91 0.006 287.816);
  --secondary-foreground: oklch(0.392 0.02 286.974);
  --accent: oklch(0.914 0.008 326.612);
  --accent-foreground: oklch(0.403 0.024 327.051);
  --destructive: oklch(0.479 0.132 42.851);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.912 0.007 309.714);
  --chart-1: oklch(0.912 0.007 309.714);
  --chart-2: oklch(0.91 0.006 287.816);
  --chart-3: oklch(0.914 0.008 326.612);
  --chart-4: oklch(0.935 0.004 287.853);
  --chart-5: oklch(0.911 0.009 309.687);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.021 311.036);
  --foreground: oklch(0.976 0.003 309.758);
  --muted: oklch(0.153 0.021 285.173);
  --muted-foreground: oklch(0.786 0.004 287.849);
  --popover: oklch(0.12 0.021 311.036);
  --popover-foreground: oklch(0.976 0.003 309.758);
  --card: oklch(0.12 0.021 311.036);
  --card-foreground: oklch(0.976 0.003 309.758);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.912 0.007 309.714);
  --primary-foreground: oklch(0.397 0.021 309.257);
  --secondary: oklch(0.91 0.006 287.816);
  --secondary-foreground: oklch(0.392 0.02 286.974);
  --accent: oklch(0.914 0.008 326.612);
  --accent-foreground: oklch(0.403 0.024 327.051);
  --destructive: oklch(0.598 0.169 42.366);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.912 0.007 309.714);
  --chart-1: oklch(0.912 0.007 309.714);
  --chart-2: oklch(0.91 0.006 287.816);
  --chart-3: oklch(0.914 0.008 326.612);
  --chart-4: oklch(0.935 0.004 287.853);
  --chart-5: oklch(0.911 0.009 309.687);
}