Ashamed for shadcn/ui

Ashamed is a shadcn/ui theme built around a vivid violet primary color (#a504fb) with vivid teal accents (#04fba5). The light mode uses a neutral background (#faf8fc). Dark mode keeps the vivid violet primary (#a504fb) on a neutral background (#060307).

Color palette

TokenLightDark
Background
#faf8fcghostwhite
#060307black
Foreground
#0c0312black
#fbf8fcghostwhite
Card
#f8f5fawhitesmoke
#08050ablack
Card foreground
#09020dblack
#fdfbfdsnow
Popover
#faf8fcghostwhite
#060307black
Popover foreground
#0c0312black
#fbf8fcghostwhite
Primary
#a504fbdarkviolet
#a504fbdarkviolet
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#fba504orange
#fba504orange
Secondary foreground
#322101black
#322101black
Muted
#e9e5ddgainsboro
#221e16black
Muted foreground
#514c43darkslategray
#bcb7aesilver
Accent
#04fba5mediumspringgreen
#04fba5mediumspringgreen
Accent foreground
#013221black
#013221black
Destructive
#a7350cfirebrick
#f27040tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a504fbdarkviolet
#a504fbdarkviolet

Contrast

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

Light mode
Text on background19.22:1AAA
Text on card18.92:1AAA
Primary button5.24:1AA
Secondary button7.73:1AAA
Muted text6.77:1AA
Accent10.38:1AAA
Destructive6.65:1AA
Dark mode
Text on background19.45:1AAA
Text on card19.66:1AAA
Primary button5.24:1AA
Secondary button7.73:1AAA
Muted text8.31:1AAA
Accent10.38:1AAA
Destructive7.14:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.005 314.192);
  --foreground: oklch(0.127 0.041 314.663);
  --muted: oklch(0.922 0.012 83.065);
  --muted-foreground: oklch(0.419 0.017 83.029);
  --popover: oklch(0.982 0.005 314.192);
  --popover-foreground: oklch(0.127 0.041 314.663);
  --card: oklch(0.974 0.007 314.178);
  --card-foreground: oklch(0.115 0.036 316.203);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.572 0.294 306.145);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.788 0.168 71.672);
  --secondary-foreground: oklch(0.262 0.053 79.169);
  --accent: oklch(0.872 0.199 159.345);
  --accent-foreground: oklch(0.282 0.06 163.569);
  --destructive: oklch(0.493 0.157 37.362);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.572 0.294 306.145);
  --chart-1: oklch(0.572 0.294 306.145);
  --chart-2: oklch(0.788 0.168 71.672);
  --chart-3: oklch(0.872 0.199 159.345);
  --chart-4: oklch(0.798 0.166 73.924);
  --chart-5: oklch(0.576 0.298 305.775);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.014 315.354);
  --foreground: oklch(0.982 0.006 314.186);
  --muted: oklch(0.237 0.016 82.884);
  --muted-foreground: oklch(0.782 0.015 83.064);
  --popover: oklch(0.109 0.014 315.354);
  --popover-foreground: oklch(0.982 0.006 314.186);
  --card: oklch(0.125 0.016 315.353);
  --card-foreground: oklch(0.991 0.003 314.203);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.572 0.294 306.145);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.788 0.168 71.672);
  --secondary-foreground: oklch(0.262 0.053 79.169);
  --accent: oklch(0.872 0.199 159.345);
  --accent-foreground: oklch(0.282 0.06 163.569);
  --destructive: oklch(0.692 0.172 39.777);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.572 0.294 306.145);
  --chart-1: oklch(0.572 0.294 306.145);
  --chart-2: oklch(0.788 0.168 71.672);
  --chart-3: oklch(0.872 0.199 159.345);
  --chart-4: oklch(0.798 0.166 73.924);
  --chart-5: oklch(0.576 0.298 305.775);
}