#9B4D8A#9B4D8A

#9B4D8A is a mid, vivid pink. Relative luminance 0.141; OKLCH L 53.7% C 0.130 H 336.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9B4D8A
RGBrgb(155, 77, 138)
HSLhsl(313, 34%, 45%)
HSVhsv(313, 50%, 61%)
CMYKcmyk(0%, 50.3%, 11%, 39.2%)
CIE-LABlab(44.39, 40.79, -19.43)
CIE-LCHlch(44.39, 45.18, 334.54°)
OKLaboklab(53.72% 0.1184 -0.0524)
OKLCHoklch(53.72% 0.13 336.1)
XYZxyz(20.7590, 14.1127, 25.6705)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4D8A #4D9B5E
analogous
#854D9B #9B4D8A #9B4D63
triadic
#9B4D8A #8A9B4D #4D8A9B
tetradic
#9B4D8A #9B854D #4D9B5E #4D639B
square
#9B4D8A #9B854D #4D9B5E #4D639B
split-complementary
#9B4D8A #639B4D #4D9B85
monochromatic
#492441 #723966 #9B4D8A #B76EA7 #CB97C0

Accessibility & contrast

On white

5.49
#9B4D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9B4D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4D8A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4D8A#FFFFFF#000000##FFFFFF
##9B4D8A1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E628C
Deuteranopia (green-blind)
#646D88
Tritanopia (blue-blind)
#A25065
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b4d8a;
/* rgb */ color: rgb(155, 77, 138);
/* oklch */ color: oklch(53.7% 0.130 336.1);
Tailwind
colors: {
  custom: {
    50: '#ba82ac',
    500: '#9b4d8a',
    950: '#000000',
  },
}
SCSS
$custom: #9b4d8a;
$custom-light: #ba82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4d8a",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 313.077,
    "s": 33.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53724,
    "c": 0.12952,
    "h": 336.1
  },
  "luminance": 0.14111
}

Semantic roles & 50–950 ramp

primary
#9B4D8A
secondary
#8CB896
accent
#CA765E
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9B4D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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