#987E9C#987E9C

#987E9C is a light, muted purple. Relative luminance 0.240; OKLCH L 62.7% C 0.054 H 321.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#987E9C
RGBrgb(152, 126, 156)
HSLhsl(292, 13%, 55%)
HSVhsv(292, 19%, 61%)
CMYKcmyk(2.6%, 19.2%, 0%, 38.8%)
CIE-LABlab(56.09, 15.56, -12.31)
CIE-LCHlch(56.09, 19.84, 321.65°)
OKLaboklab(62.74% 0.0421 -0.0331)
OKLCHoklch(62.74% 0.054 321.8)
XYZxyz(26.4097, 23.9979, 34.6869)
Luminance0.2400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987E9C #829C7E
analogous
#897E9C #987E9C #9C7E91
triadic
#987E9C #9C987E #7E9C98
tetradic
#987E9C #9C897E #829C7E #7E919C
square
#987E9C #9C897E #829C7E #7E919C
split-complementary
#987E9C #919C7E #7E9C89
monochromatic
#57455A #79607D #987E9C #B4A1B7 #CFC3D1

Accessibility & contrast

On white

3.62
#987E9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#987E9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987E9C
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987E9C#FFFFFF#000000##000000
##987E9C1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B859D
Deuteranopia (green-blind)
#81879B
Tritanopia (blue-blind)
#998188
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #987e9c;
/* rgb */ color: rgb(152, 126, 156);
/* oklch */ color: oklch(62.7% 0.054 321.8);
Tailwind
colors: {
  custom: {
    50: '#b6a3b9',
    500: '#987e9c',
    950: '#000000',
  },
}
SCSS
$custom: #987e9c;
$custom-light: #b6a3b9;
$custom-dark: #000000;
JSON
{
  "hex": "#987e9c",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 156
  },
  "hsl": {
    "h": 292,
    "s": 13.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62743,
    "c": 0.05353,
    "h": 321.8
  },
  "luminance": 0.23997
}

Semantic roles & 50–950 ramp

primary
#987E9C
secondary
#B6C1B5
accent
#B6727B
background
#FBFAFB
surface
#F6F3F6
border
#D0CDD0
text
#110F11
muted
#807F80

Preview Lab

Preview with #987E9C

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

Preview Lab → · Contrast checker → · Palette generator →

#987E9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva