#987CA9#987CA9

#987CA9 is a light, moderate violet. Relative luminance 0.240; OKLCH L 62.9% C 0.073 H 312.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#987CA9
RGBrgb(152, 124, 169)
HSLhsl(277, 21%, 57%)
HSVhsv(277, 27%, 66%)
CMYKcmyk(10.1%, 26.6%, 0%, 33.7%)
CIE-LABlab(56.04, 19.43, -19.87)
CIE-LCHlch(56.04, 27.80, 314.36°)
OKLaboklab(62.86% 0.0495 -0.0541)
OKLCHoklch(62.86% 0.073 312.4)
XYZxyz(27.3168, 23.9556, 40.7133)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987CA9 #8DA97C
analogous
#827CA9 #987CA9 #A97CA4
triadic
#987CA9 #A9987C #7CA998
tetradic
#987CA9 #A9827C #8DA97C #7CA4A9
square
#987CA9 #A9827C #8DA97C #7CA4A9
split-complementary
#987CA9 #A4A97C #7CA982
monochromatic
#5A4467 #7A5C8C #987CA9 #B5A1C1 #D2C6DA

Accessibility & contrast

On white

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

On black

5.79
#987CA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987CA9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987CA9#FFFFFF#000000##000000
##987CA91.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AB
Deuteranopia (green-blind)
#7B87A8
Tritanopia (blue-blind)
#97828C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #987ca9;
/* rgb */ color: rgb(152, 124, 169);
/* oklch */ color: oklch(62.9% 0.073 312.4);
Tailwind
colors: {
  custom: {
    50: '#b6a2c2',
    500: '#987ca9',
    950: '#000000',
  },
}
SCSS
$custom: #987ca9;
$custom-light: #b6a2c2;
$custom-dark: #000000;
JSON
{
  "hex": "#987ca9",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 169
  },
  "hsl": {
    "h": 277.333,
    "s": 20.737,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62864,
    "c": 0.07334,
    "h": 312.4
  },
  "luminance": 0.23955
}

Semantic roles & 50–950 ramp

primary
#987CA9
secondary
#BEC9B7
accent
#BD6A8A
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110F12
muted
#807E81

Preview Lab

Preview with #987CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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