#987C9E#987C9E

#987C9E is a light, muted purple. Relative luminance 0.236; OKLCH L 62.4% C 0.060 H 320.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#987C9E
RGBrgb(152, 124, 158)
HSLhsl(289, 15%, 55%)
HSVhsv(289, 22%, 62%)
CMYKcmyk(3.8%, 21.5%, 0%, 38%)
CIE-LABlab(55.64, 17.12, -14.13)
CIE-LCHlch(55.64, 22.20, 320.46°)
OKLaboklab(62.43% 0.0459 -0.0381)
OKLCHoklch(62.43% 0.06 320.3)
XYZxyz(26.3273, 23.5598, 35.5017)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987C9E #829E7C
analogous
#877C9E #987C9E #9E7C93
triadic
#987C9E #9E987C #7C9E98
tetradic
#987C9E #9E877C #829E7C #7C939E
square
#987C9E #9E877C #829E7C #7C939E
split-complementary
#987C9E #939E7C #7C9E87
monochromatic
#57445C #795E7F #987C9E #B49FB8 #CFC2D2

Accessibility & contrast

On white

3.68
#987C9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#987C9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987C9E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987C9E#FFFFFF#000000##000000
##987C9E1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839F
Deuteranopia (green-blind)
#7F869D
Tritanopia (blue-blind)
#997F88
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #987c9e;
/* rgb */ color: rgb(152, 124, 158);
/* oklch */ color: oklch(62.4% 0.060 320.3);
Tailwind
colors: {
  custom: {
    50: '#b6a2ba',
    500: '#987c9e',
    950: '#000000',
  },
}
SCSS
$custom: #987c9e;
$custom-light: #b6a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#987c9e",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 158
  },
  "hsl": {
    "h": 289.412,
    "s": 14.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62425,
    "c": 0.05968,
    "h": 320.3
  },
  "luminance": 0.23559
}

Semantic roles & 50–950 ramp

primary
#987C9E
secondary
#B6C2B4
accent
#B8707D
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110F11
muted
#807E80

Preview Lab

Preview with #987C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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