#9B558B#9B558B

#9B558B is a mid, moderate pink. Relative luminance 0.153; OKLCH L 55.0% C 0.116 H 336.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9B558B
RGBrgb(155, 85, 139)
HSLhsl(314, 29%, 47%)
HSVhsv(314, 45%, 61%)
CMYKcmyk(0%, 45.2%, 10.3%, 39.2%)
CIE-LABlab(46.08, 36.70, -17.44)
CIE-LCHlch(46.08, 40.63, 334.59°)
OKLaboklab(55% 0.1063 -0.0469)
OKLCHoklch(55% 0.116 336.2)
XYZxyz(21.4263, 15.3310, 26.2517)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B558B #559B65
analogous
#88559B #9B558B #9B5568
triadic
#9B558B #8B9B55 #558B9B
tetradic
#9B558B #9B8855 #559B65 #55689B
square
#9B558B #9B8855 #559B65 #55689B
split-complementary
#9B558B #689B55 #559B88
monochromatic
#4C2A44 #733F68 #9B558B #B578A7 #CBA0C1

Accessibility & contrast

On white

5.16
#9B558B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9B558B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B558B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B558B#FFFFFF#000000##FFFFFF
##9B558B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56678D
Deuteranopia (green-blind)
#687189
Tritanopia (blue-blind)
#A1586A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b558b;
/* rgb */ color: rgb(155, 85, 139);
/* oklch */ color: oklch(55.0% 0.116 336.2);
Tailwind
colors: {
  custom: {
    50: '#ba87ad',
    500: '#9b558b',
    950: '#000000',
  },
}
SCSS
$custom: #9b558b;
$custom-light: #ba87ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9b558b",
  "rgb": {
    "r": 155,
    "g": 85,
    "b": 139
  },
  "hsl": {
    "h": 313.714,
    "s": 29.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55,
    "c": 0.11616,
    "h": 336.2
  },
  "luminance": 0.1533
}

Semantic roles & 50–950 ramp

primary
#9B558B
secondary
#94B89C
accent
#C57962
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9B558B

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

Preview Lab → · Contrast checker → · Palette generator →

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