Oeuvre for shadcn/ui

Oeuvre is a shadcn/ui theme built around a vivid light purple primary color (#f6b7ed) with vivid light cyan accents (#b7edf6). The light mode uses a neutral background (#fcf8fc). Dark mode keeps the vivid light purple primary (#f6b7ed) on a neutral background (#080307).

Color palette

TokenLightDark
Background
#fcf8fcsnow
#080307black
Foreground
#10040eblack
#fbf9fbsnow
Card
#fbf4faghostwhite
#0b040ablack
Card foreground
#0c030bblack
#fdfcfdwhite
Popover
#fbf4faghostwhite
#0b040ablack
Popover foreground
#0c030bblack
#fdfcfdwhite
Primary
#f6b7edpink
#f6b7edpink
Primary foreground
#6c0e60purple
#6c0e60purple
Secondary
#edf6b7palegoldenrod
#edf6b7palegoldenrod
Secondary foreground
#101202black
#101202black
Muted
#dbdbd6gainsboro
#282924darkslategray
Muted foreground
#52534bdarkslategray
#b3b4acdarkgray
Accent
#b7edf6paleturquoise
#b7edf6paleturquoise
Accent foreground
#021012black
#021012black
Destructive
#630e03maroon
#f8351borangered
Destructive foreground
#fca79clightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f6b7edpink
#f6b7edpink

Contrast

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

Light mode
Text on background19.05:1AAA
Text on card18.77:1AAA
Primary button6.89:1AA
Secondary button16.60:1AAA
Muted text5.61:1AA
Accent15.17:1AAA
Destructive6.98:1AA
Dark mode
Text on background19.57:1AAA
Text on card19.80:1AAA
Primary button6.89:1AA
Secondary button16.60:1AAA
Muted text7.01:1AAA
Accent15.17:1AAA
Destructive3.80:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.007 329.773);
  --foreground: oklch(0.138 0.032 331.695);
  --muted: oklch(0.891 0.007 112.697);
  --muted-foreground: oklch(0.439 0.013 113.085);
  --popover: oklch(0.974 0.011 329.819);
  --popover-foreground: oklch(0.124 0.028 331.105);
  --card: oklch(0.974 0.011 329.819);
  --card-foreground: oklch(0.124 0.028 331.105);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.853 0.101 331.054);
  --primary-foreground: oklch(0.373 0.153 334.701);
  --secondary: oklch(0.951 0.081 114.135);
  --secondary-foreground: oklch(0.175 0.033 115.219);
  --accent: oklch(0.912 0.056 207.875);
  --accent-foreground: oklch(0.16 0.022 206.628);
  --destructive: oklch(0.324 0.119 31.586);
  --destructive-foreground: oklch(0.809 0.102 27.778);
  --ring: oklch(0.853 0.101 331.054);
  --chart-1: oklch(0.853 0.101 331.054);
  --chart-2: oklch(0.951 0.081 114.135);
  --chart-3: oklch(0.912 0.056 207.875);
  --chart-4: oklch(0.959 0.066 113.832);
  --chart-5: oklch(0.852 0.105 331.105);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.021 330.708);
  --foreground: oklch(0.984 0.003 329.718);
  --muted: oklch(0.278 0.01 113.19);
  --muted-foreground: oklch(0.766 0.011 112.815);
  --popover: oklch(0.125 0.024 330.904);
  --popover-foreground: oklch(0.992 0.001 329.701);
  --card: oklch(0.125 0.024 330.904);
  --card-foreground: oklch(0.992 0.001 329.701);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.853 0.101 331.054);
  --primary-foreground: oklch(0.373 0.153 334.701);
  --secondary: oklch(0.951 0.081 114.135);
  --secondary-foreground: oklch(0.175 0.033 115.219);
  --accent: oklch(0.912 0.056 207.875);
  --accent-foreground: oklch(0.16 0.022 206.628);
  --destructive: oklch(0.636 0.232 31.024);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.853 0.101 331.054);
  --chart-1: oklch(0.853 0.101 331.054);
  --chart-2: oklch(0.951 0.081 114.135);
  --chart-3: oklch(0.912 0.056 207.875);
  --chart-4: oklch(0.959 0.066 113.832);
  --chart-5: oklch(0.852 0.105 331.105);
}