#987ABE#987ABE

#987ABE is a light, moderate violet. Relative luminance 0.243; OKLCH L 63.4% C 0.104 H 303.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#987ABE
RGBrgb(152, 122, 190)
HSLhsl(266, 34%, 61%)
HSVhsv(266, 36%, 75%)
CMYKcmyk(20%, 35.8%, 0%, 25.5%)
CIE-LABlab(56.40, 25.32, -31.36)
CIE-LCHlch(56.40, 40.31, 308.91°)
OKLaboklab(63.42% 0.0582 -0.0868)
OKLCHoklch(63.42% 0.105 303.8)
XYZxyz(29.2008, 24.3122, 51.8596)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987ABE #A0BE7A
analogous
#7A7EBE #987ABE #BA7ABE
triadic
#987ABE #BE987A #7ABE98
tetradic
#987ABE #BE7A7E #A0BE7A #7ABEBA
square
#987ABE #BE7A7E #A0BE7A #7ABEBA
split-complementary
#987ABE #BEBA7A #7EBE7A
monochromatic
#5B3E7F #7852A8 #987ABE #B8A3D2 #D8CCE6

Accessibility & contrast

On white

3.58
#987ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#987ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987ABE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987ABE#FFFFFF#000000##000000
##987ABE1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B86C1
Deuteranopia (green-blind)
#7187BC
Tritanopia (blue-blind)
#928493
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #987abe;
/* rgb */ color: rgb(152, 122, 190);
/* oklch */ color: oklch(63.4% 0.104 303.8);
Tailwind
colors: {
  custom: {
    50: '#b7a0d2',
    500: '#987abe',
    950: '#000000',
  },
}
SCSS
$custom: #987abe;
$custom-light: #b7a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#987abe",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 266.471,
    "s": 34.343,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63416,
    "c": 0.1045,
    "h": 303.8
  },
  "luminance": 0.24312
}

Semantic roles & 50–950 ramp

primary
#987ABE
secondary
#CBD7BD
accent
#AD387A
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110F14
muted
#807E82

Preview Lab

Preview with #987ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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