#876987#876987

#876987 is a mid, muted purple. Relative luminance 0.170; OKLCH L 56.1% C 0.058 H 326.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#876987
RGBrgb(135, 105, 135)
HSLhsl(300, 13%, 47%)
HSVhsv(300, 22%, 53%)
CMYKcmyk(0%, 22.2%, 0%, 47.1%)
CIE-LABlab(48.26, 17.47, -11.95)
CIE-LCHlch(48.26, 21.17, 325.61°)
OKLaboklab(56.08% 0.0482 -0.0321)
OKLCHoklch(56.08% 0.058 326.3)
XYZxyz(19.4159, 17.0038, 25.1762)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876987 #698769
analogous
#786987 #876987 #876978
triadic
#876987 #878769 #698787
tetradic
#876987 #877869 #698769 #697887
square
#876987 #877869 #698769 #697887
split-complementary
#876987 #788769 #698778
monochromatic
#423342 #654E65 #876987 #A48AA4 #BEACBE

Accessibility & contrast

On white

4.77
#876987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#876987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #876987
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876987#FFFFFF#000000##FFFFFF
##8769871.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677088
Deuteranopia (green-blind)
#6E7486
Tritanopia (blue-blind)
#896B73
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #876987;
/* rgb */ color: rgb(135, 105, 135);
/* oklch */ color: oklch(56.1% 0.058 326.3);
Tailwind
colors: {
  custom: {
    50: '#aa94aa',
    500: '#876987',
    950: '#000000',
  },
}
SCSS
$custom: #876987;
$custom-light: #aa94aa;
$custom-dark: #000000;
JSON
{
  "hex": "#876987",
  "rgb": {
    "r": 135,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 300,
    "s": 12.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5608,
    "c": 0.05793,
    "h": 326.3
  },
  "luminance": 0.17003
}

Semantic roles & 50–950 ramp

primary
#876987
secondary
#9EAE9E
accent
#B57272
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #876987

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

Preview Lab → · Contrast checker → · Palette generator →

#876987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva