roxinho Violet 1 for shadcn/ui

roxinho Violet 1 is a shadcn/ui theme built around a light violet primary color (#d1a5e4) with light green accents (#b8e4a5). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the light violet primary (#d1a5e4) on a neutral background (#060208).

Color palette

TokenLightDark
Background
#fdfbfewhite
#060208black
Foreground
#030104black
#f8f6f8whitesmoke
Card
#fdfbfewhite
#060208black
Card foreground
#030104black
#f8f6f8whitesmoke
Popover
#fdfbfewhite
#060208black
Popover foreground
#030104black
#f8f6f8whitesmoke
Primary
#d1a5e4plum
#d1a5e4plum
Primary foreground
#351443midnightblue
#351443midnightblue
Secondary
#b8e4a5palegreen
#b8e4a5palegreen
Secondary foreground
#224314darkgreen
#224314darkgreen
Muted
#eaecealinen
#141513black
Muted foreground
#5f655ddimgray
#9da29adarkgray
Accent
#b8e4a5palegreen
#b8e4a5palegreen
Accent foreground
#224314darkgreen
#224314darkgreen
Destructive
#930301darkred
#fe322fcrimson
Destructive foreground
#ffc8c7pink
#ffffffwhite
Border
#e7e2e9lavender
#1b161dblack
Input
#e7e2e9lavender
#1b161dblack
Ring
#d1a5e4plum
#d1a5e4plum

Contrast

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

Light mode
Text on background20.24:1AAA
Text on card20.24:1AAA
Primary button7.64:1AAA
Secondary button7.79:1AAA
Muted text5.03:1AA
Accent7.79:1AAA
Destructive6.35:1AA
Dark mode
Text on background19.11:1AAA
Text on card19.11:1AAA
Primary button7.64:1AAA
Secondary button7.79:1AAA
Muted text7.01:1AAA
Accent7.79:1AAA
Destructive3.67:1AA Large

CSS variables

Paste this into your globals.css to use roxinho Violet 1 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 316.01);
  --foreground: oklch(0.08 0.026 318.764);
  --muted: oklch(0.94 0.003 136.034);
  --muted-foreground: oklch(0.499 0.014 136.124);
  --popover: oklch(0.991 0.003 316.01);
  --popover-foreground: oklch(0.08 0.026 318.764);
  --card: oklch(0.991 0.003 316.01);
  --card-foreground: oklch(0.08 0.026 318.764);
  --border: oklch(0.919 0.01 315.982);
  --input: oklch(0.919 0.01 315.982);
  --primary: oklch(0.782 0.1 315.555);
  --primary-foreground: oklch(0.266 0.089 314.307);
  --secondary: oklch(0.872 0.097 136.483);
  --secondary-foreground: oklch(0.345 0.083 137.548);
  --accent: oklch(0.872 0.097 136.483);
  --accent-foreground: oklch(0.345 0.083 137.548);
  --destructive: oklch(0.418 0.17 29.425);
  --destructive-foreground: oklch(0.881 0.062 19.538);
  --ring: oklch(0.782 0.1 315.555);
  --chart-1: oklch(0.782 0.1 315.555);
  --chart-2: oklch(0.872 0.097 136.483);
  --chart-3: oklch(0.872 0.097 136.483);
  --chart-4: oklch(0.888 0.084 136.403);
  --chart-5: oklch(0.781 0.105 315.525);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.105 0.022 317.876);
  --foreground: oklch(0.976 0.003 316.009);
  --muted: oklch(0.195 0.005 136.108);
  --muted-foreground: oklch(0.705 0.013 136.088);
  --popover: oklch(0.105 0.022 317.876);
  --popover-foreground: oklch(0.976 0.003 316.009);
  --card: oklch(0.105 0.022 317.876);
  --card-foreground: oklch(0.976 0.003 316.009);
  --border: oklch(0.209 0.015 315.772);
  --input: oklch(0.209 0.015 315.772);
  --primary: oklch(0.782 0.1 315.555);
  --primary-foreground: oklch(0.266 0.089 314.307);
  --secondary: oklch(0.872 0.097 136.483);
  --secondary-foreground: oklch(0.345 0.083 137.548);
  --accent: oklch(0.872 0.097 136.483);
  --accent-foreground: oklch(0.345 0.083 137.548);
  --destructive: oklch(0.646 0.237 27.652);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.782 0.1 315.555);
  --chart-1: oklch(0.782 0.1 315.555);
  --chart-2: oklch(0.872 0.097 136.483);
  --chart-3: oklch(0.872 0.097 136.483);
  --chart-4: oklch(0.888 0.084 136.403);
  --chart-5: oklch(0.781 0.105 315.525);
}