#9B4E8A#9B4E8A

#9B4E8A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 53.9% C 0.128 H 336.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9B4E8A
RGBrgb(155, 78, 138)
HSLhsl(313, 33%, 46%)
HSVhsv(313, 50%, 61%)
CMYKcmyk(0%, 49.7%, 11%, 39.2%)
CIE-LABlab(44.59, 40.27, -19.12)
CIE-LCHlch(44.59, 44.58, 334.60°)
OKLaboklab(53.87% 0.1169 -0.0516)
OKLCHoklch(53.87% 0.128 336.2)
XYZxyz(20.8295, 14.2537, 25.6940)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4E8A #4E9B5F
analogous
#854E9B #9B4E8A #9B4E63
triadic
#9B4E8A #8A9B4E #4E8A9B
tetradic
#9B4E8A #9B854E #4E9B5F #4E639B
square
#9B4E8A #9B854E #4E9B5F #4E639B
split-complementary
#9B4E8A #639B4E #4E9B85
monochromatic
#4A2542 #723A66 #9B4E8A #B76FA7 #CB98C0

Accessibility & contrast

On white

5.45
#9B4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9B4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4E8A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4E8A#FFFFFF#000000##FFFFFF
##9B4E8A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628C
Deuteranopia (green-blind)
#646E88
Tritanopia (blue-blind)
#A25165
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b4e8a;
/* rgb */ color: rgb(155, 78, 138);
/* oklch */ color: oklch(53.9% 0.128 336.2);
Tailwind
colors: {
  custom: {
    50: '#ba82ac',
    500: '#9b4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9b4e8a;
$custom-light: #ba82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4e8a",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 313.247,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53873,
    "c": 0.12777,
    "h": 336.2
  },
  "luminance": 0.14252
}

Semantic roles & 50–950 ramp

primary
#9B4E8A
secondary
#8DB896
accent
#C9765F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9B4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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