#987E9A#987E9A

#987E9A is a light, muted purple. Relative luminance 0.239; OKLCH L 62.7% C 0.051 H 323.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#987E9A
RGBrgb(152, 126, 154)
HSLhsl(296, 12%, 55%)
HSVhsv(296, 18%, 60%)
CMYKcmyk(1.3%, 18.2%, 0%, 39.6%)
CIE-LABlab(56.02, 15.15, -11.25)
CIE-LCHlch(56.02, 18.88, 323.40°)
OKLaboklab(62.67% 0.0414 -0.0302)
OKLCHoklch(62.67% 0.051 323.9)
XYZxyz(26.2417, 23.9307, 33.8023)
Luminance0.2393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987E9A #809A7E
analogous
#8A7E9A #987E9A #9A7E8E
triadic
#987E9A #9A987E #7E9A98
tetradic
#987E9A #9A8A7E #809A7E #7E8E9A
square
#987E9A #9A8A7E #809A7E #7E8E9A
split-complementary
#987E9A #8E9A7E #7E9A8A
monochromatic
#574558 #79607B #987E9A #B3A0B5 #CFC3D0

Accessibility & contrast

On white

3.63
#987E9A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#987E9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987E9A
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987E9A#FFFFFF#000000##000000
##987E9A1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C849B
Deuteranopia (green-blind)
#818799
Tritanopia (blue-blind)
#998087
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #987e9a;
/* rgb */ color: rgb(152, 126, 154);
/* oklch */ color: oklch(62.7% 0.051 323.9);
Tailwind
colors: {
  custom: {
    50: '#b6a3b7',
    500: '#987e9a',
    950: '#000000',
  },
}
SCSS
$custom: #987e9a;
$custom-light: #b6a3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#987e9a",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 154
  },
  "hsl": {
    "h": 295.714,
    "s": 12.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62669,
    "c": 0.05122,
    "h": 323.9
  },
  "luminance": 0.2393
}

Semantic roles & 50–950 ramp

primary
#987E9A
secondary
#B5C0B4
accent
#B57377
background
#FBFAFB
surface
#F6F3F6
border
#D0CDD0
text
#110F11
muted
#807F80

Preview Lab

Preview with #987E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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