#87487D#87487D

#87487D is a mid, moderate purple. Relative luminance 0.113; OKLCH L 49.7% C 0.111 H 333.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#87487D
RGBrgb(135, 72, 125)
HSLhsl(310, 30%, 41%)
HSVhsv(310, 47%, 53%)
CMYKcmyk(0%, 46.7%, 7.4%, 47.1%)
CIE-LABlab(40.03, 34.64, -18.46)
CIE-LCHlch(40.03, 39.25, 331.95°)
OKLaboklab(49.7% 0.0992 -0.05)
OKLCHoklch(49.7% 0.111 333.3)
XYZxyz(16.0106, 11.2672, 20.7295)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87487D #488752
analogous
#714887 #87487D #87485D
triadic
#87487D #7D8748 #487D87
tetradic
#87487D #877148 #488752 #485D87
square
#87487D #877148 #488752 #485D87
split-complementary
#87487D #5D8748 #488771
monochromatic
#371D33 #5F3358 #87487D #AB619F #C089B7

Accessibility & contrast

On white

6.46
#87487D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#87487D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87487D
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87487D#FFFFFF#000000##FFFFFF
##87487D1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47597F
Deuteranopia (green-blind)
#58627B
Tritanopia (blue-blind)
#8C4C5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #87487d;
/* rgb */ color: rgb(135, 72, 125);
/* oklch */ color: oklch(49.7% 0.111 333.3);
Tailwind
colors: {
  custom: {
    50: '#ab7da2',
    500: '#87487d',
    950: '#000000',
  },
}
SCSS
$custom: #87487d;
$custom-light: #ab7da2;
$custom-dark: #000000;
JSON
{
  "hex": "#87487d",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 309.524,
    "s": 30.435,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49704,
    "c": 0.11109,
    "h": 333.3
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#87487D
secondary
#7FAC86
accent
#C77161
background
#FAF7FA
surface
#F4EEF3
border
#CEC9CD
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #87487D

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

Preview Lab → · Contrast checker → · Palette generator →

#87487D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva