#9E4C8D#9E4C8D

#9E4C8D is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.1% C 0.136 H 335.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9E4C8D
RGBrgb(158, 76, 141)
HSLhsl(312, 35%, 46%)
HSVhsv(312, 52%, 62%)
CMYKcmyk(0%, 51.9%, 10.8%, 38%)
CIE-LABlab(44.75, 42.77, -20.65)
CIE-LCHlch(44.75, 47.50, 334.22°)
OKLaboklab(54.12% 0.1241 -0.0558)
OKLCHoklch(54.12% 0.136 335.8)
XYZxyz(21.4928, 14.3626, 26.8344)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4C8D #4C9E5D
analogous
#864C9E #9E4C8D #9E4C64
triadic
#9E4C8D #8D9E4C #4C8D9E
tetradic
#9E4C8D #9E864C #4C9E5D #4C649E
square
#9E4C8D #9E864C #4C9E5D #4C649E
split-complementary
#9E4C8D #649E4C #4C9E86
monochromatic
#4B2443 #753868 #9E4C8D #B96EAA #CD97C2

Accessibility & contrast

On white

5.42
#9E4C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9E4C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4C8D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4C8D#FFFFFF#000000##FFFFFF
##9E4C8D1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D628F
Deuteranopia (green-blind)
#646E8B
Tritanopia (blue-blind)
#A55066
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9e4c8d;
/* rgb */ color: rgb(158, 76, 141);
/* oklch */ color: oklch(54.1% 0.136 335.8);
Tailwind
colors: {
  custom: {
    50: '#bd81ae',
    500: '#9e4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #9e4c8d;
$custom-light: #bd81ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4c8d",
  "rgb": {
    "r": 158,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 312.439,
    "s": 35.043,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54117,
    "c": 0.13609,
    "h": 335.8
  },
  "luminance": 0.14361
}

Semantic roles & 50–950 ramp

primary
#9E4C8D
secondary
#8CB996
accent
#CB745D
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9E4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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