#9E2E87#9E2E87

#9E2E87 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.176 H 337.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9E2E87
RGBrgb(158, 46, 135)
HSLhsl(312, 55%, 40%)
HSVhsv(312, 71%, 62%)
CMYKcmyk(0%, 70.9%, 14.6%, 38%)
CIE-LABlab(39.54, 55.27, -25.08)
CIE-LCHlch(39.54, 60.69, 335.59°)
OKLaboklab(50.2% 0.1628 -0.0681)
OKLCHoklch(50.2% 0.176 337.3)
XYZxyz(19.4511, 10.9741, 24.0108)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E87 #2E9E45
analogous
#7D2E9E #9E2E87 #9E2E4F
triadic
#9E2E87 #879E2E #2E879E
tetradic
#9E2E87 #9E7D2E #2E9E45 #2E4F9E
square
#9E2E87 #9E7D2E #2E9E45 #2E4F9E
split-complementary
#9E2E87 #4F9E2E #2E9E7D
monochromatic
#3F1236 #6F205F #9E2E87 #C841AC #D671C1

Accessibility & contrast

On white

6.57
#9E2E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9E2E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E87
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E87#FFFFFF#000000##FFFFFF
##9E2E871.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31528A
Deuteranopia (green-blind)
#566384
Tritanopia (blue-blind)
#A63456
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2e87;
/* rgb */ color: rgb(158, 46, 135);
/* oklch */ color: oklch(50.2% 0.176 337.3);
Tailwind
colors: {
  custom: {
    50: '#be71aa',
    500: '#9e2e87',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e87;
$custom-light: #be71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e87",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 312.321,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.17646,
    "h": 337.3
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#9E2E87
secondary
#6BBD7C
accent
#DE684A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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