#9B4E8D#9B4E8D

#9B4E8D is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.0% C 0.130 H 334.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9B4E8D
RGBrgb(155, 78, 141)
HSLhsl(311, 33%, 46%)
HSVhsv(311, 50%, 61%)
CMYKcmyk(0%, 49.7%, 9%, 39.2%)
CIE-LABlab(44.72, 40.79, -20.73)
CIE-LCHlch(44.72, 45.76, 333.05°)
OKLaboklab(54.01% 0.1176 -0.0561)
OKLCHoklch(54.01% 0.13 334.5)
XYZxyz(21.0497, 14.3418, 26.8537)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4E8D #4E9B5C
analogous
#824E9B #9B4E8D #9B4E66
triadic
#9B4E8D #8D9B4E #4E8D9B
tetradic
#9B4E8D #9B824E #4E9B5C #4E669B
square
#9B4E8D #9B824E #4E9B5C #4E669B
split-complementary
#9B4E8D #669B4E #4E9B82
monochromatic
#4A2543 #723A68 #9B4E8D #B76FAA #CB98C2

Accessibility & contrast

On white

5.43
#9B4E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B4E8D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4E8D#FFFFFF#000000##FFFFFF
##9B4E8D1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E638F
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#A15267
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b4e8d;
/* rgb */ color: rgb(155, 78, 141);
/* oklch */ color: oklch(54.0% 0.130 334.5);
Tailwind
colors: {
  custom: {
    50: '#ba82ae',
    500: '#9b4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #9b4e8d;
$custom-light: #ba82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4e8d",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 310.909,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54007,
    "c": 0.13032,
    "h": 334.5
  },
  "luminance": 0.1434
}

Semantic roles & 50–950 ramp

primary
#9B4E8D
secondary
#8DB895
accent
#C9725F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9B4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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