#987BAE#987BAE

#987BAE is a light, moderate violet. Relative luminance 0.239; OKLCH L 62.9% C 0.082 H 310.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#987BAE
RGBrgb(152, 123, 174)
HSLhsl(274, 24%, 58%)
HSVhsv(274, 29%, 68%)
CMYKcmyk(12.6%, 29.3%, 0%, 31.8%)
CIE-LABlab(55.99, 21.10, -22.84)
CIE-LCHlch(55.99, 31.10, 312.74°)
OKLaboklab(62.88% 0.0525 -0.0625)
OKLCHoklch(62.88% 0.082 310)
XYZxyz(27.6705, 23.8976, 43.1912)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987BAE #91AE7B
analogous
#7E7BAE #987BAE #AE7BAA
triadic
#987BAE #AE987B #7BAE98
tetradic
#987BAE #AE7E7B #91AE7B #7BAAAE
square
#987BAE #AE7E7B #91AE7B #7BAAAE
split-complementary
#987BAE #AAAE7B #7BAE7E
monochromatic
#5A426C #7A5A92 #987BAE #B6A1C5 #D3C7DD

Accessibility & contrast

On white

3.63
#987BAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#987BAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987BAE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987BAE#FFFFFF#000000##000000
##987BAE1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7285B0
Deuteranopia (green-blind)
#7887AC
Tritanopia (blue-blind)
#96828D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #987bae;
/* rgb */ color: rgb(152, 123, 174);
/* oklch */ color: oklch(62.9% 0.082 310.0);
Tailwind
colors: {
  custom: {
    50: '#b7a1c6',
    500: '#987bae',
    950: '#000000',
  },
}
SCSS
$custom: #987bae;
$custom-light: #b7a1c6;
$custom-dark: #000000;
JSON
{
  "hex": "#987bae",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 174
  },
  "hsl": {
    "h": 274.118,
    "s": 23.944,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62883,
    "c": 0.08162,
    "h": 310
  },
  "luminance": 0.23897
}

Semantic roles & 50–950 ramp

primary
#987BAE
secondary
#C1CDB8
accent
#C0678E
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82

Preview Lab

Preview with #987BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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