#987DA7#987DA7

#987DA7 is a light, moderate violet. Relative luminance 0.241; OKLCH L 63.0% C 0.069 H 313.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#987DA7
RGBrgb(152, 125, 167)
HSLhsl(279, 19%, 57%)
HSVhsv(279, 25%, 65%)
CMYKcmyk(9%, 25.1%, 0%, 34.5%)
CIE-LABlab(56.22, 18.42, -18.45)
CIE-LCHlch(56.22, 26.08, 314.96°)
OKLaboklab(62.98% 0.0473 -0.0502)
OKLCHoklch(62.98% 0.069 313.3)
XYZxyz(27.2564, 24.1330, 39.7740)
Luminance0.2413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987DA7 #8CA77D
analogous
#837DA7 #987DA7 #A77DA1
triadic
#987DA7 #A7987D #7DA798
tetradic
#987DA7 #A7837D #8CA77D #7DA1A7
square
#987DA7 #A7837D #8CA77D #7DA1A7
split-complementary
#987DA7 #A1A77D #7DA783
monochromatic
#594465 #7A5D8A #987DA7 #B5A1C0 #D2C6D8

Accessibility & contrast

On white

3.60
#987DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#987DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987DA7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987DA7#FFFFFF#000000##000000
##987DA71.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7785A9
Deuteranopia (green-blind)
#7D87A6
Tritanopia (blue-blind)
#97828C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #987da7;
/* rgb */ color: rgb(152, 125, 167);
/* oklch */ color: oklch(63.0% 0.069 313.3);
Tailwind
colors: {
  custom: {
    50: '#b6a2c1',
    500: '#987da7',
    950: '#000000',
  },
}
SCSS
$custom: #987da7;
$custom-light: #b6a2c1;
$custom-dark: #000000;
JSON
{
  "hex": "#987da7",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 167
  },
  "hsl": {
    "h": 278.571,
    "s": 19.266,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62976,
    "c": 0.06894,
    "h": 313.3
  },
  "luminance": 0.24133
}

Semantic roles & 50–950 ramp

primary
#987DA7
secondary
#BDC8B7
accent
#BC6C88
background
#FBFAFB
surface
#F6F3F7
border
#D0CDD0
text
#110F12
muted
#807F81

Preview Lab

Preview with #987DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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