Poised for shadcn/ui

Poised is a shadcn/ui theme built around a deep purple primary color (#170817) with deep pink accents (#17080f). The light mode uses a neutral background (#fdf7fd). Dark mode keeps the deep purple primary (#170817) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdf7fdsnow
#000000black
Foreground
#040104black
#ffffffwhite
Card
#fcf2fcghostwhite
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#fcf2fcghostwhite
#030303black
Popover foreground
#000000black
#ffffffwhite
Primary
#170817black
#170817black
Primary foreground
#d27fd2orchid
#d27fd2orchid
Secondary
#0f0817black
#0f0817black
Secondary foreground
#a87fd2mediumpurple
#a87fd2mediumpurple
Muted
#f0edf2whitesmoke
#0f0d12black
Muted foreground
#525252darkslategray
#adadaddarkgray
Accent
#17080fblack
#17080fblack
Accent foreground
#d27fa8palevioletred
#d27fa8palevioletred
Destructive
#9c3411saddlebrown
#d34617chocolate
Destructive foreground
#fceae3linen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#170817black
#170817black

Contrast

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

Light mode
Text on background19.63:1AAA
Text on card19.30:1AAA
Primary button7.12:1AAA
Secondary button6.21:1AA
Muted text6.73:1AA
Accent6.81:1AA
Destructive6.18:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button7.12:1AAA
Secondary button6.21:1AA
Muted text8.62:1AAA
Accent6.81:1AA
Destructive4.49:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.011 325.663);
  --foreground: oklch(0.086 0.021 327.221);
  --muted: oklch(0.95 0.007 308.373);
  --muted-foreground: oklch(0.437 0 180);
  --popover: oklch(0.973 0.017 325.707);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.973 0.017 325.707);
  --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.165 0.038 327.116);
  --primary-foreground: oklch(0.712 0.148 326.989);
  --secondary: oklch(0.153 0.033 306.187);
  --secondary-foreground: oklch(0.668 0.127 306.256);
  --accent: oklch(0.161 0.029 349.323);
  --accent-foreground: oklch(0.696 0.115 349.135);
  --destructive: oklch(0.473 0.145 37.207);
  --destructive-foreground: oklch(0.949 0.022 39.379);
  --ring: oklch(0.165 0.038 327.116);
  --chart-1: oklch(0.165 0.038 327.116);
  --chart-2: oklch(0.153 0.033 306.187);
  --chart-3: oklch(0.161 0.029 349.323);
  --chart-4: oklch(0.182 0.046 305.419);
  --chart-5: oklch(0.165 0.04 327.2);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.163 0.012 307.678);
  --muted-foreground: oklch(0.749 0 158.199);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.165 0.038 327.116);
  --primary-foreground: oklch(0.712 0.148 326.989);
  --secondary: oklch(0.153 0.033 306.187);
  --secondary-foreground: oklch(0.668 0.127 306.256);
  --accent: oklch(0.161 0.029 349.323);
  --accent-foreground: oklch(0.696 0.115 349.135);
  --destructive: oklch(0.589 0.185 36.907);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.165 0.038 327.116);
  --chart-1: oklch(0.165 0.038 327.116);
  --chart-2: oklch(0.153 0.033 306.187);
  --chart-3: oklch(0.161 0.029 349.323);
  --chart-4: oklch(0.182 0.046 305.419);
  --chart-5: oklch(0.165 0.04 327.2);
}