#987DA4#987DA4

#987DA4 is a light, moderate purple. Relative luminance 0.240; OKLCH L 62.9% C 0.065 H 315.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#987DA4
RGBrgb(152, 125, 164)
HSLhsl(282, 18%, 57%)
HSVhsv(282, 24%, 64%)
CMYKcmyk(7.3%, 23.8%, 0%, 35.7%)
CIE-LABlab(56.11, 17.79, -16.89)
CIE-LCHlch(56.11, 24.53, 316.49°)
OKLaboklab(62.86% 0.0463 -0.0458)
OKLCHoklch(62.86% 0.065 315.3)
XYZxyz(26.9823, 24.0233, 38.3303)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987DA4 #89A47D
analogous
#857DA4 #987DA4 #A47D9D
triadic
#987DA4 #A4987D #7DA498
tetradic
#987DA4 #A4857D #89A47D #7D9DA4
square
#987DA4 #A4857D #89A47D #7D9DA4
split-complementary
#987DA4 #9DA47D #7DA485
monochromatic
#594562 #7A5E86 #987DA4 #B5A1BD #D1C5D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987DA4#FFFFFF#000000##000000
##987DA41.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)
#7885A6
Deuteranopia (green-blind)
#7E87A3
Tritanopia (blue-blind)
#98818A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #987da4;
/* rgb */ color: rgb(152, 125, 164);
/* oklch */ color: oklch(62.9% 0.065 315.3);
Tailwind
colors: {
  custom: {
    50: '#b6a2bf',
    500: '#987da4',
    950: '#000000',
  },
}
SCSS
$custom: #987da4;
$custom-light: #b6a2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#987da4",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 164
  },
  "hsl": {
    "h": 281.538,
    "s": 17.647,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62855,
    "c": 0.06515,
    "h": 315.3
  },
  "luminance": 0.24023
}

Semantic roles & 50–950 ramp

primary
#987DA4
secondary
#BBC6B6
accent
#BA6D85
background
#FBFAFB
surface
#F6F3F7
border
#D0CDD0
text
#110F12
muted
#807F81

Preview Lab

Preview with #987DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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