#987CAA#987CAA

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

Color values

HEX#987CAA
RGBrgb(152, 124, 170)
HSLhsl(277, 21%, 58%)
HSVhsv(277, 27%, 67%)
CMYKcmyk(10.6%, 27.1%, 0%, 33.3%)
CIE-LABlab(56.08, 19.65, -20.39)
CIE-LCHlch(56.08, 28.32, 313.94°)
OKLaboklab(62.91% 0.0498 -0.0556)
OKLCHoklch(62.91% 0.075 311.8)
XYZxyz(27.4110, 23.9933, 41.2096)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987CAA #8EAA7C
analogous
#817CAA #987CAA #AA7CA5
triadic
#987CAA #AA987C #7CAA98
tetradic
#987CAA #AA817C #8EAA7C #7CA5AA
square
#987CAA #AA817C #8EAA7C #7CA5AA
split-complementary
#987CAA #A5AA7C #7CAA81
monochromatic
#5A4468 #7A5C8D #987CAA #B5A1C2 #D2C6DA

Accessibility & contrast

On white

3.62
#987CAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#987CAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987CAA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987CAA#FFFFFF#000000##000000
##987CAA1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AC
Deuteranopia (green-blind)
#7B87A9
Tritanopia (blue-blind)
#96828C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #987caa;
/* rgb */ color: rgb(152, 124, 170);
/* oklch */ color: oklch(62.9% 0.075 311.8);
Tailwind
colors: {
  custom: {
    50: '#b6a2c3',
    500: '#987caa',
    950: '#000000',
  },
}
SCSS
$custom: #987caa;
$custom-light: #b6a2c3;
$custom-dark: #000000;
JSON
{
  "hex": "#987caa",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 170
  },
  "hsl": {
    "h": 276.522,
    "s": 21.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62906,
    "c": 0.07463,
    "h": 311.8
  },
  "luminance": 0.23993
}

Semantic roles & 50–950 ramp

primary
#987CAA
secondary
#BFCAB8
accent
#BE6A8B
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F12
muted
#807E81

Preview Lab

Preview with #987CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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