#87477C#87477C

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

Color values

HEX#87477C
RGBrgb(135, 71, 124)
HSLhsl(310, 31%, 40%)
HSVhsv(310, 47%, 53%)
CMYKcmyk(0%, 47.4%, 8.1%, 47.1%)
CIE-LABlab(39.77, 35.01, -18.24)
CIE-LCHlch(39.77, 39.47, 332.49°)
OKLaboklab(49.5% 0.1006 -0.0493)
OKLCHoklch(49.5% 0.112 333.9)
XYZxyz(15.8830, 11.1136, 20.3734)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87477C #478752
analogous
#724787 #87477C #87475C
triadic
#87477C #7C8747 #477C87
tetradic
#87477C #877247 #478752 #475C87
square
#87477C #877247 #478752 #475C87
split-complementary
#87477C #5C8747 #478772
monochromatic
#371D32 #5F3257 #87477C #AB609E #C088B7

Accessibility & contrast

On white

6.52
#87477C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #87477C
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87477C#FFFFFF#000000##FFFFFF
##87477C1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587E
Deuteranopia (green-blind)
#58617A
Tritanopia (blue-blind)
#8C4A5C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #87477c;
/* rgb */ color: rgb(135, 71, 124);
/* oklch */ color: oklch(49.5% 0.112 333.9);
Tailwind
colors: {
  custom: {
    50: '#ab7ca2',
    500: '#87477c',
    950: '#000000',
  },
}
SCSS
$custom: #87477c;
$custom-light: #ab7ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#87477c",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 310.313,
    "s": 31.068,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49499,
    "c": 0.112,
    "h": 333.9
  },
  "luminance": 0.11113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #87477C

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

Preview Lab → · Contrast checker → · Palette generator →

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