#9B558D#9B558D

#9B558D is a mid, moderate pink. Relative luminance 0.154; OKLCH L 55.1% C 0.118 H 334.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9B558D
RGBrgb(155, 85, 141)
HSLhsl(312, 29%, 47%)
HSVhsv(312, 45%, 61%)
CMYKcmyk(0%, 45.2%, 9%, 39.2%)
CIE-LABlab(46.16, 37.05, -18.52)
CIE-LCHlch(46.16, 41.42, 333.45°)
OKLaboklab(55.08% 0.1068 -0.0499)
OKLCHoklch(55.08% 0.118 334.9)
XYZxyz(21.5738, 15.3899, 27.0284)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B558D #559B63
analogous
#86559B #9B558D #9B556A
triadic
#9B558D #8D9B55 #558D9B
tetradic
#9B558D #9B8655 #559B63 #556A9B
square
#9B558D #9B8655 #559B63 #556A9B
split-complementary
#9B558D #6A9B55 #559B86
monochromatic
#4C2A45 #733F69 #9B558D #B578A9 #CBA0C2

Accessibility & contrast

On white

5.15
#9B558D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9B558D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B558D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B558D#FFFFFF#000000##FFFFFF
##9B558D1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55678F
Deuteranopia (green-blind)
#68718B
Tritanopia (blue-blind)
#A1586A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b558d;
/* rgb */ color: rgb(155, 85, 141);
/* oklch */ color: oklch(55.1% 0.118 334.9);
Tailwind
colors: {
  custom: {
    50: '#ba87ae',
    500: '#9b558d',
    950: '#000000',
  },
}
SCSS
$custom: #9b558d;
$custom-light: #ba87ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b558d",
  "rgb": {
    "r": 155,
    "g": 85,
    "b": 141
  },
  "hsl": {
    "h": 312,
    "s": 29.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55085,
    "c": 0.11789,
    "h": 334.9
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#9B558D
secondary
#94B89B
accent
#C57662
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9B558D

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

Preview Lab → · Contrast checker → · Palette generator →

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