#87487E#87487E

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

Color values

HEX#87487E
RGBrgb(135, 72, 126)
HSLhsl(309, 30%, 41%)
HSVhsv(309, 47%, 53%)
CMYKcmyk(0%, 46.7%, 6.7%, 47.1%)
CIE-LABlab(40.07, 34.83, -19.01)
CIE-LCHlch(40.07, 39.68, 331.38°)
OKLaboklab(49.75% 0.0995 -0.0515)
OKLCHoklch(49.75% 0.112 332.6)
XYZxyz(16.0748, 11.2929, 21.0677)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87487E #488751
analogous
#704887 #87487E #87485E
triadic
#87487E #7E8748 #487E87
tetradic
#87487E #877048 #488751 #485E87
square
#87487E #877048 #488751 #485E87
split-complementary
#87487E #5E8748 #488770
monochromatic
#371D33 #5F3359 #87487E #AB61A0 #C089B8

Accessibility & contrast

On white

6.44
#87487E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #87487E
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87487E#FFFFFF#000000##FFFFFF
##87487E1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475980
Deuteranopia (green-blind)
#58627C
Tritanopia (blue-blind)
#8C4C5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #87487e;
/* rgb */ color: rgb(135, 72, 126);
/* oklch */ color: oklch(49.8% 0.112 332.6);
Tailwind
colors: {
  custom: {
    50: '#ab7da3',
    500: '#87487e',
    950: '#000000',
  },
}
SCSS
$custom: #87487e;
$custom-light: #ab7da3;
$custom-dark: #000000;
JSON
{
  "hex": "#87487e",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 308.571,
    "s": 30.435,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4975,
    "c": 0.11201,
    "h": 332.6
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#87487E
secondary
#7FAC85
accent
#C77061
background
#FAF7FA
surface
#F4EEF3
border
#CEC9CD
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #87487E

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

Preview Lab → · Contrast checker → · Palette generator →

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