#9E2B91#9E2B91

#9E2B91 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.187 H 333.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9E2B91
RGBrgb(158, 43, 145)
HSLhsl(307, 57%, 39%)
HSVhsv(307, 73%, 62%)
CMYKcmyk(0%, 72.8%, 8.2%, 38%)
CIE-LABlab(39.65, 57.89, -31.01)
CIE-LCHlch(39.65, 65.67, 331.82°)
OKLaboklab(50.45% 0.167 -0.0851)
OKLCHoklch(50.45% 0.187 333)
XYZxyz(20.0754, 11.0429, 27.8567)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B91 #2B9E38
analogous
#722B9E #9E2B91 #9E2B57
triadic
#9E2B91 #919E2B #2B919E
tetradic
#9E2B91 #9E722B #2B9E38 #2B579E
square
#9E2B91 #9E722B #2B9E38 #2B579E
split-complementary
#9E2B91 #579E2B #2B9E72
monochromatic
#3E1139 #6E1E65 #9E2B91 #CA3CBA #D76CCB

Accessibility & contrast

On white

6.55
#9E2B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9E2B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2B91
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2B91#FFFFFF#000000##FFFFFF
##9E2B911.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265394
Deuteranopia (green-blind)
#51638E
Tritanopia (blue-blind)
#A5365B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2b91;
/* rgb */ color: rgb(158, 43, 145);
/* oklch */ color: oklch(50.4% 0.187 333.0);
Tailwind
colors: {
  custom: {
    50: '#be70b1',
    500: '#9e2b91',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b91;
$custom-light: #be70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b91",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 306.783,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.1874,
    "h": 333
  },
  "luminance": 0.11041
}

Semantic roles & 50–950 ramp

primary
#9E2B91
secondary
#67BE71
accent
#E05947
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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