#9B477D#9B477D

#9B477D is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.3% C 0.130 H 343.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9B477D
RGBrgb(155, 71, 125)
HSLhsl(321, 37%, 44%)
HSVhsv(321, 54%, 61%)
CMYKcmyk(0%, 54.2%, 19.4%, 39.2%)
CIE-LABlab(42.70, 41.75, -14.12)
CIE-LCHlch(42.70, 44.07, 341.32°)
OKLaboklab(52.29% 0.1243 -0.0375)
OKLCHoklch(52.29% 0.13 343.2)
XYZxyz(19.4729, 12.9573, 20.8735)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B477D #479B65
analogous
#8F479B #9B477D #9B4753
triadic
#9B477D #7D9B47 #477D9B
tetradic
#9B477D #9B8F47 #479B65 #47539B
square
#9B477D #9B8F47 #479B65 #47539B
split-complementary
#9B477D #539B47 #479B8F
monochromatic
#472139 #71345B #9B477D #B9669B #CC90B7

Accessibility & contrast

On white

5.85
#9B477D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9B477D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B477D
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B477D#FFFFFF#000000##FFFFFF
##9B477D1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7F
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#A4475C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b477d;
/* rgb */ color: rgb(155, 71, 125);
/* oklch */ color: oklch(52.3% 0.130 343.2);
Tailwind
colors: {
  custom: {
    50: '#bb7ea2',
    500: '#9b477d',
    950: '#000000',
  },
}
SCSS
$custom: #9b477d;
$custom-light: #bb7ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b477d",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 321.429,
    "s": 37.168,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52292,
    "c": 0.1298,
    "h": 343.2
  },
  "luminance": 0.12956
}

Semantic roles & 50–950 ramp

primary
#9B477D
secondary
#86B898
accent
#CD845B
background
#FBF7FA
surface
#F7EEF3
border
#D0C9CD
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #9B477D

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

Preview Lab → · Contrast checker → · Palette generator →

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