Lunar Pink Satellite for shadcn/ui

Lunar Pink Satellite is a shadcn/ui theme built around a vivid purple primary color (#e723af) with neutral gray accents (#4d4d4d). The light mode uses a neutral background (#262626). Dark mode keeps the vivid purple primary (#e723af) on a neutral background (#262626).

Color palette

TokenLightDark
Background
#262626darkslategray
#262626darkslategray
Foreground
#dededegainsboro
#dededegainsboro
Card
#212121black
#212121black
Card foreground
#ebebeblinen
#ebebeblinen
Popover
#1f1f1fblack
#1f1f1fblack
Popover foreground
#f7f7f7whitesmoke
#f7f7f7whitesmoke
Primary
#e723afdeeppink
#e723afdeeppink
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d2acc8thistle
#d2acc8thistle
Secondary foreground
#321b2bdarkslategray
#321b2bdarkslategray
Muted
#362b2bdarkslategray
#362b2bdarkslategray
Muted foreground
#b9a6a6darkgray
#b9a6a6darkgray
Accent
#4d4d4ddarkslategray
#4d4d4ddarkslategray
Accent foreground
#e6e6e6gainsboro
#e6e6e6gainsboro
Destructive
#d51815firebrick
#d51815firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#333333darkslategray
#333333darkslategray
Input
#3b3b3bdarkslategray
#3b3b3bdarkslategray
Ring
#e723afdeeppink
#e723afdeeppink

Contrast

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

Light mode
Text on background11.21:1AAA
Text on card13.48:1AAA
Primary button4.00:1AA Large
Secondary button7.90:1AAA
Muted text5.91:1AA
Accent6.82:1AA
Destructive5.26:1AA
Dark mode
Text on background11.21:1AAA
Text on card13.48:1AAA
Primary button4.00:1AA Large
Secondary button7.90:1AAA
Muted text5.91:1AA
Accent6.82:1AA
Destructive5.26:1AA

CSS variables

Paste this into your globals.css to use Lunar Pink Satellite in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.27 0 180);
  --foreground: oklch(0.9 0 188.746);
  --muted: oklch(0.301 0.017 18.156);
  --muted-foreground: oklch(0.743 0.022 17.661);
  --popover: oklch(0.238 0 161.565);
  --popover-foreground: oklch(0.977 0 180);
  --card: oklch(0.248 0 173.29);
  --card-foreground: oklch(0.939 0 180);
  --border: oklch(0.321 0 180);
  --input: oklch(0.351 0 167.471);
  --primary: oklch(0.63 0.253 343.448);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.787 0.058 336.464);
  --secondary-foreground: oklch(0.259 0.045 338.12);
  --accent: oklch(0.418 0 173.29);
  --accent-foreground: oklch(0.923 0 153.435);
  --destructive: oklch(0.557 0.218 28.632);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.63 0.253 343.448);
  --chart-1: oklch(0.63 0.253 343.448);
  --chart-2: oklch(0.787 0.058 336.464);
  --chart-3: oklch(0.418 0 173.29);
  --chart-4: oklch(0.813 0.05 336.273);
  --chart-5: oklch(0.635 0.258 343.735);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.27 0 180);
  --foreground: oklch(0.9 0 188.746);
  --muted: oklch(0.301 0.017 18.156);
  --muted-foreground: oklch(0.743 0.022 17.661);
  --popover: oklch(0.238 0 161.565);
  --popover-foreground: oklch(0.977 0 180);
  --card: oklch(0.248 0 173.29);
  --card-foreground: oklch(0.939 0 180);
  --border: oklch(0.321 0 180);
  --input: oklch(0.351 0 167.471);
  --primary: oklch(0.63 0.253 343.448);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.787 0.058 336.464);
  --secondary-foreground: oklch(0.259 0.045 338.12);
  --accent: oklch(0.418 0 173.29);
  --accent-foreground: oklch(0.923 0 153.435);
  --destructive: oklch(0.557 0.218 28.632);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.63 0.253 343.448);
  --chart-1: oklch(0.63 0.253 343.448);
  --chart-2: oklch(0.787 0.058 336.464);
  --chart-3: oklch(0.418 0 173.29);
  --chart-4: oklch(0.813 0.05 336.273);
  --chart-5: oklch(0.635 0.258 343.735);
}