#87487F#87487F

#87487F is a mid, moderate purple. Relative luminance 0.113; OKLCH L 49.8% C 0.113 H 332.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#87487F
RGBrgb(135, 72, 127)
HSLhsl(308, 30%, 41%)
HSVhsv(308, 47%, 53%)
CMYKcmyk(0%, 46.7%, 5.9%, 47.1%)
CIE-LABlab(40.11, 35.01, -19.55)
CIE-LCHlch(40.11, 40.10, 330.82°)
OKLaboklab(49.8% 0.0997 -0.0531)
OKLCHoklch(49.8% 0.113 332)
XYZxyz(16.1397, 11.3189, 21.4092)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87487F #488750
analogous
#6F4887 #87487F #87485F
triadic
#87487F #7F8748 #487F87
tetradic
#87487F #876F48 #488750 #485F87
square
#87487F #876F48 #488750 #485F87
split-complementary
#87487F #5F8748 #48876F
monochromatic
#371D34 #5F3359 #87487F #AB61A2 #C089B9

Accessibility & contrast

On white

6.43
#87487F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#87487F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87487F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87487F#FFFFFF#000000##FFFFFF
##87487F1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465981
Deuteranopia (green-blind)
#57627D
Tritanopia (blue-blind)
#8C4C5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #87487f;
/* rgb */ color: rgb(135, 72, 127);
/* oklch */ color: oklch(49.8% 0.113 332.0);
Tailwind
colors: {
  custom: {
    50: '#ab7da4',
    500: '#87487f',
    950: '#000000',
  },
}
SCSS
$custom: #87487f;
$custom-light: #ab7da4;
$custom-dark: #000000;
JSON
{
  "hex": "#87487f",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 307.619,
    "s": 30.435,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49796,
    "c": 0.11294,
    "h": 332
  },
  "luminance": 0.11318
}

Semantic roles & 50–950 ramp

primary
#87487F
secondary
#7FAC85
accent
#C76E61
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #87487F

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

Preview Lab → · Contrast checker → · Palette generator →

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