#9E2C97#9E2C97

#9E2C97 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.191 H 330.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9E2C97
RGBrgb(158, 44, 151)
HSLhsl(304, 56%, 40%)
HSVhsv(304, 72%, 62%)
CMYKcmyk(0%, 72.2%, 4.4%, 38%)
CIE-LABlab(40.09, 58.50, -33.97)
CIE-LCHlch(40.09, 67.65, 329.86°)
OKLaboklab(50.87% 0.1663 -0.0936)
OKLCHoklch(50.87% 0.191 330.6)
XYZxyz(20.5871, 11.3064, 30.3702)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C97 #2C9E33
analogous
#6C2C9E #9E2C97 #9E2C5E
triadic
#9E2C97 #979E2C #2C979E
tetradic
#9E2C97 #9E6C2C #2C9E33 #2C5E9E
square
#9E2C97 #9E6C2C #2C9E33 #2C5E9E
split-complementary
#9E2C97 #5E9E2C #2C9E6C
monochromatic
#3E113C #6E1F69 #9E2C97 #C93EC1 #D76ED0

Accessibility & contrast

On white

6.44
#9E2C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9E2C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C97
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C97#FFFFFF#000000##FFFFFF
##9E2C971.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#A43A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2c97;
/* rgb */ color: rgb(158, 44, 151);
/* oklch */ color: oklch(50.9% 0.191 330.6);
Tailwind
colors: {
  custom: {
    50: '#be70b6',
    500: '#9e2c97',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c97;
$custom-light: #be70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c97",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 303.684,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50867,
    "c": 0.19082,
    "h": 330.6
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#9E2C97
secondary
#68BE6D
accent
#E05148
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2C97

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9E2C97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva