#9E4E8A#9E4E8A

#9E4E8A is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.3% C 0.130 H 337.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9E4E8A
RGBrgb(158, 78, 138)
HSLhsl(315, 34%, 46%)
HSVhsv(315, 51%, 62%)
CMYKcmyk(0%, 50.6%, 12.7%, 38%)
CIE-LABlab(45.02, 41.23, -18.43)
CIE-LCHlch(45.02, 45.16, 335.91°)
OKLaboklab(54.28% 0.1204 -0.0496)
OKLCHoklch(54.28% 0.13 337.6)
XYZxyz(21.4125, 14.5544, 25.7213)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4E8A #4E9E62
analogous
#8A4E9E #9E4E8A #9E4E62
triadic
#9E4E8A #8A9E4E #4E8A9E
tetradic
#9E4E8A #9E8A4E #4E9E62 #4E629E
square
#9E4E8A #9E8A4E #4E9E62 #4E629E
split-complementary
#9E4E8A #629E4E #4E9E8A
monochromatic
#4C2642 #753A66 #9E4E8A #B971A7 #CD9AC0

Accessibility & contrast

On white

5.37
#9E4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9E4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4E8A
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4E8A#FFFFFF#000000##FFFFFF
##9E4E8A1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638C
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#A55166
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9e4e8a;
/* rgb */ color: rgb(158, 78, 138);
/* oklch */ color: oklch(54.3% 0.130 337.6);
Tailwind
colors: {
  custom: {
    50: '#bd83ac',
    500: '#9e4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9e4e8a;
$custom-light: #bd83ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4e8a",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 315,
    "s": 33.898,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54276,
    "c": 0.13021,
    "h": 337.6
  },
  "luminance": 0.14553
}

Semantic roles & 50–950 ramp

primary
#9E4E8A
secondary
#8EBA99
accent
#CA795E
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9E4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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