#987FAE#987FAE

#987FAE is a light, moderate violet. Relative luminance 0.249; OKLCH L 63.7% C 0.074 H 308.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#987FAE
RGBrgb(152, 127, 174)
HSLhsl(272, 22%, 59%)
HSVhsv(272, 27%, 68%)
CMYKcmyk(12.6%, 27%, 0%, 31.8%)
CIE-LABlab(56.99, 18.79, -21.30)
CIE-LCHlch(56.99, 28.40, 311.41°)
OKLaboklab(63.65% 0.0464 -0.0582)
OKLCHoklch(63.65% 0.074 308.6)
XYZxyz(28.1769, 24.9104, 43.3600)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987FAE #95AE7F
analogous
#817FAE #987FAE #AE7FAD
triadic
#987FAE #AE987F #7FAE98
tetradic
#987FAE #AE817F #95AE7F #7FADAE
square
#987FAE #AE817F #95AE7F #7FADAE
split-complementary
#987FAE #ADAE7F #7FAE81
monochromatic
#5B456D #7A5D93 #987FAE #B6A4C6 #D4CADD

Accessibility & contrast

On white

3.51
#987FAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#987FAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987FAE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987FAE#FFFFFF#000000##000000
##987FAE1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7788B0
Deuteranopia (green-blind)
#7C89AD
Tritanopia (blue-blind)
#958590
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #987fae;
/* rgb */ color: rgb(152, 127, 174);
/* oklch */ color: oklch(63.7% 0.074 308.6);
Tailwind
colors: {
  custom: {
    50: '#b6a4c6',
    500: '#987fae',
    950: '#000000',
  },
}
SCSS
$custom: #987fae;
$custom-light: #b6a4c6;
$custom-dark: #000000;
JSON
{
  "hex": "#987fae",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 174
  },
  "hsl": {
    "h": 271.915,
    "s": 22.488,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63652,
    "c": 0.0744,
    "h": 308.6
  },
  "luminance": 0.2491
}

Semantic roles & 50–950 ramp

primary
#987FAE
secondary
#C4CEBB
accent
#BF6991
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#110F13
muted
#807F82

Preview Lab

Preview with #987FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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