#9B4E87#9B4E87

#9B4E87 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 53.7% C 0.125 H 338.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9B4E87
RGBrgb(155, 78, 135)
HSLhsl(316, 33%, 46%)
HSVhsv(316, 50%, 61%)
CMYKcmyk(0%, 49.7%, 12.9%, 39.2%)
CIE-LABlab(44.47, 39.76, -17.49)
CIE-LCHlch(44.47, 43.43, 336.25°)
OKLaboklab(53.74% 0.1162 -0.047)
OKLCHoklch(53.74% 0.125 338)
XYZxyz(20.6153, 14.1680, 24.5659)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4E87 #4E9B62
analogous
#884E9B #9B4E87 #9B4E61
triadic
#9B4E87 #879B4E #4E879B
tetradic
#9B4E87 #9B884E #4E9B62 #4E619B
square
#9B4E87 #9B884E #4E9B62 #4E619B
split-complementary
#9B4E87 #619B4E #4E9B88
monochromatic
#4A2540 #723A64 #9B4E87 #B76FA4 #CB98BE

Accessibility & contrast

On white

5.48
#9B4E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9B4E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4E87
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4E87#FFFFFF#000000##FFFFFF
##9B4E871.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506289
Deuteranopia (green-blind)
#656E85
Tritanopia (blue-blind)
#A25064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b4e87;
/* rgb */ color: rgb(155, 78, 135);
/* oklch */ color: oklch(53.7% 0.125 338.0);
Tailwind
colors: {
  custom: {
    50: '#ba82aa',
    500: '#9b4e87',
    950: '#000000',
  },
}
SCSS
$custom: #9b4e87;
$custom-light: #ba82aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4e87",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 315.584,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53743,
    "c": 0.1253,
    "h": 338
  },
  "luminance": 0.14167
}

Semantic roles & 50–950 ramp

primary
#9B4E87
secondary
#8DB898
accent
#C97A5F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9B4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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