#9E2B7E#9E2B7E

#9E2B7E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.174 H 341.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9E2B7E
RGBrgb(158, 43, 126)
HSLhsl(317, 57%, 39%)
HSVhsv(317, 73%, 62%)
CMYKcmyk(0%, 72.8%, 20.3%, 38%)
CIE-LABlab(38.73, 55.04, -20.77)
CIE-LCHlch(38.73, 58.83, 339.33°)
OKLaboklab(49.49% 0.1647 -0.0559)
OKLCHoklch(49.49% 0.174 341.3)
XYZxyz(18.7309, 10.5051, 20.7758)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B7E #2B9E4B
analogous
#852B9E #9E2B7E #9E2B44
triadic
#9E2B7E #7E9E2B #2B7E9E
tetradic
#9E2B7E #9E852B #2B9E4B #2B449E
square
#9E2B7E #9E852B #2B9E4B #2B449E
split-complementary
#9E2B7E #449E2B #2B9E85
monochromatic
#3E1131 #6E1E58 #9E2B7E #CA3CA3 #D76CB9

Accessibility & contrast

On white

6.77
#9E2B7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E2B7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2B7E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2B7E#FFFFFF#000000##FFFFFF
##9E2B7E1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#59627B
Tritanopia (blue-blind)
#A82D51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2b7e;
/* rgb */ color: rgb(158, 43, 126);
/* oklch */ color: oklch(49.5% 0.174 341.3);
Tailwind
colors: {
  custom: {
    50: '#be6fa3',
    500: '#9e2b7e',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b7e;
$custom-light: #be6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b7e",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 316.696,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49485,
    "c": 0.17394,
    "h": 341.3
  },
  "luminance": 0.10503
}

Semantic roles & 50–950 ramp

primary
#9E2B7E
secondary
#67BE7F
accent
#E07247
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E2B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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