#987DA3#987DA3

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

Color values

HEX#987DA3
RGBrgb(152, 125, 163)
HSLhsl(283, 17%, 56%)
HSVhsv(283, 23%, 64%)
CMYKcmyk(6.7%, 23.3%, 0%, 36.1%)
CIE-LABlab(56.08, 17.58, -16.37)
CIE-LCHlch(56.08, 24.02, 317.04°)
OKLaboklab(62.82% 0.046 -0.0443)
OKLCHoklch(62.82% 0.064 316.1)
XYZxyz(26.8924, 23.9874, 37.8566)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987DA3 #88A37D
analogous
#857DA3 #987DA3 #A37D9B
triadic
#987DA3 #A3987D #7DA398
tetradic
#987DA3 #A3857D #88A37D #7D9BA3
square
#987DA3 #A3857D #88A37D #7D9BA3
split-complementary
#987DA3 #9BA37D #7DA385
monochromatic
#594561 #7A5E85 #987DA3 #B4A1BC #D1C5D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987DA3#FFFFFF#000000##000000
##987DA31.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)
#7885A5
Deuteranopia (green-blind)
#7E87A2
Tritanopia (blue-blind)
#98818A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #987da3;
/* rgb */ color: rgb(152, 125, 163);
/* oklch */ color: oklch(62.8% 0.064 316.1);
Tailwind
colors: {
  custom: {
    50: '#b6a2be',
    500: '#987da3',
    950: '#000000',
  },
}
SCSS
$custom: #987da3;
$custom-light: #b6a2be;
$custom-dark: #000000;
JSON
{
  "hex": "#987da3",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 163
  },
  "hsl": {
    "h": 282.632,
    "s": 17.117,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62816,
    "c": 0.0639,
    "h": 316.1
  },
  "luminance": 0.23987
}

Semantic roles & 50–950 ramp

primary
#987DA3
secondary
#BBC6B6
accent
#BA6E84
background
#FBFAFB
surface
#F6F3F6
border
#D0CDD0
text
#110F12
muted
#807F81

Preview Lab

Preview with #987DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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