#87477B#87477B

#87477B is a mid, moderate pink. Relative luminance 0.111; OKLCH L 49.5% C 0.111 H 334.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#87477B
RGBrgb(135, 71, 123)
HSLhsl(311, 31%, 40%)
HSVhsv(311, 47%, 53%)
CMYKcmyk(0%, 47.4%, 8.9%, 47.1%)
CIE-LABlab(39.73, 34.83, -17.68)
CIE-LCHlch(39.73, 39.06, 333.08°)
OKLaboklab(49.45% 0.1003 -0.0478)
OKLCHoklch(49.45% 0.111 334.5)
XYZxyz(15.8200, 11.0884, 20.0421)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87477B #478753
analogous
#734787 #87477B #87475B
triadic
#87477B #7B8747 #477B87
tetradic
#87477B #877347 #478753 #475B87
square
#87477B #877347 #478753 #475B87
split-complementary
#87477B #5B8747 #478773
monochromatic
#371D32 #5F3256 #87477B #AB609D #C088B6

Accessibility & contrast

On white

6.53
#87477B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#87477B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87477B
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87477B#FFFFFF#000000##FFFFFF
##87477B1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#586179
Tritanopia (blue-blind)
#8C4A5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #87477b;
/* rgb */ color: rgb(135, 71, 123);
/* oklch */ color: oklch(49.5% 0.111 334.5);
Tailwind
colors: {
  custom: {
    50: '#ab7ca1',
    500: '#87477b',
    950: '#000000',
  },
}
SCSS
$custom: #87477b;
$custom-light: #ab7ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#87477b",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 311.25,
    "s": 31.068,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49454,
    "c": 0.1111,
    "h": 334.5
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#87477B
secondary
#7EAC86
accent
#C77461
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0F
muted
#7F7C7E

Preview Lab

Preview with #87477B

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

Preview Lab → · Contrast checker → · Palette generator →

#87477B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva