#87477E#87477E

#87477E is a mid, moderate purple. Relative luminance 0.112; OKLCH L 49.6% C 0.114 H 332.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#87477E
RGBrgb(135, 71, 126)
HSLhsl(308, 31%, 40%)
HSVhsv(308, 47%, 53%)
CMYKcmyk(0%, 47.4%, 6.7%, 47.1%)
CIE-LABlab(39.86, 35.38, -19.33)
CIE-LCHlch(39.86, 40.32, 331.34°)
OKLaboklab(49.59% 0.101 -0.0524)
OKLCHoklch(49.59% 0.114 332.6)
XYZxyz(16.0107, 11.1647, 21.0463)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87477E #478750
analogous
#704787 #87477E #87475E
triadic
#87477E #7E8747 #477E87
tetradic
#87477E #877047 #478750 #475E87
square
#87477E #877047 #478750 #475E87
split-complementary
#87477E #5E8747 #478770
monochromatic
#371D33 #5F3259 #87477E #AB60A1 #C088B8

Accessibility & contrast

On white

6.50
#87477E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#87477E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87477E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87477E#FFFFFF#000000##FFFFFF
##87477E1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465880
Deuteranopia (green-blind)
#57617C
Tritanopia (blue-blind)
#8C4B5C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #87477e;
/* rgb */ color: rgb(135, 71, 126);
/* oklch */ color: oklch(49.6% 0.114 332.6);
Tailwind
colors: {
  custom: {
    50: '#ab7ca3',
    500: '#87477e',
    950: '#000000',
  },
}
SCSS
$custom: #87477e;
$custom-light: #ab7ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#87477e",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 308.438,
    "s": 31.068,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49591,
    "c": 0.11383,
    "h": 332.6
  },
  "luminance": 0.11164
}

Semantic roles & 50–950 ramp

primary
#87477E
secondary
#7EAC84
accent
#C76F61
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #87477E

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

Preview Lab → · Contrast checker → · Palette generator →

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