#987CAE#987CAE

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

Color values

HEX#987CAE
RGBrgb(152, 124, 174)
HSLhsl(274, 24%, 58%)
HSVhsv(274, 29%, 68%)
CMYKcmyk(12.6%, 28.7%, 0%, 31.8%)
CIE-LABlab(56.23, 20.52, -22.46)
CIE-LCHlch(56.23, 30.42, 312.42°)
OKLaboklab(63.07% 0.051 -0.0614)
OKLCHoklch(63.07% 0.08 309.7)
XYZxyz(27.7952, 24.1470, 43.2328)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987CAE #92AE7C
analogous
#7F7CAE #987CAE #AE7CAB
triadic
#987CAE #AE987C #7CAE98
tetradic
#987CAE #AE7F7C #92AE7C #7CABAE
square
#987CAE #AE7F7C #92AE7C #7CABAE
split-complementary
#987CAE #ABAE7C #7CAE7F
monochromatic
#5A436D #7A5A92 #987CAE #B6A2C5 #D3C8DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987CAE#FFFFFF#000000##000000
##987CAE1.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)
#7485B0
Deuteranopia (green-blind)
#7987AC
Tritanopia (blue-blind)
#96838E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #987cae;
/* rgb */ color: rgb(152, 124, 174);
/* oklch */ color: oklch(63.1% 0.080 309.7);
Tailwind
colors: {
  custom: {
    50: '#b7a2c6',
    500: '#987cae',
    950: '#000000',
  },
}
SCSS
$custom: #987cae;
$custom-light: #b7a2c6;
$custom-dark: #000000;
JSON
{
  "hex": "#987cae",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 174
  },
  "hsl": {
    "h": 273.6,
    "s": 23.585,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63074,
    "c": 0.07981,
    "h": 309.7
  },
  "luminance": 0.24147
}

Semantic roles & 50–950 ramp

primary
#987CAE
secondary
#C2CDB9
accent
#C0688F
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82

Preview Lab

Preview with #987CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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