#987A9E#987A9E

#987A9E is a light, moderate purple. Relative luminance 0.231; OKLCH L 62.0% C 0.063 H 320.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#987A9E
RGBrgb(152, 122, 158)
HSLhsl(290, 16%, 55%)
HSVhsv(290, 23%, 62%)
CMYKcmyk(3.8%, 22.8%, 0%, 38%)
CIE-LABlab(55.14, 18.28, -14.90)
CIE-LCHlch(55.14, 23.58, 320.82°)
OKLaboklab(62.04% 0.0491 -0.0402)
OKLCHoklch(62.04% 0.063 320.7)
XYZxyz(26.0792, 23.0636, 35.4190)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A9E #809E7A
analogous
#867A9E #987A9E #9E7A92
triadic
#987A9E #9E987A #7A9E98
tetradic
#987A9E #9E867A #809E7A #7A929E
square
#987A9E #9E867A #809E7A #7A929E
split-complementary
#987A9E #929E7A #7A9E86
monochromatic
#57425B #795C7F #987A9E #B39DB8 #CFC1D2

Accessibility & contrast

On white

3.74
#987A9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#987A9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A9E
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A9E#FFFFFF#000000##000000
##987A9E1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#76829F
Deuteranopia (green-blind)
#7D859D
Tritanopia (blue-blind)
#997E86
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #987a9e;
/* rgb */ color: rgb(152, 122, 158);
/* oklch */ color: oklch(62.0% 0.063 320.7);
Tailwind
colors: {
  custom: {
    50: '#b6a0ba',
    500: '#987a9e',
    950: '#000000',
  },
}
SCSS
$custom: #987a9e;
$custom-light: #b6a0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#987a9e",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 158
  },
  "hsl": {
    "h": 290,
    "s": 15.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62036,
    "c": 0.06347,
    "h": 320.7
  },
  "luminance": 0.23063
}

Semantic roles & 50–950 ramp

primary
#987A9E
secondary
#B5C1B2
accent
#B86F7C
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110E11
muted
#807E80

Preview Lab

Preview with #987A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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