#987ABC#987ABC

#987ABC is a light, moderate violet. Relative luminance 0.242; OKLCH L 63.3% C 0.102 H 304.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#987ABC
RGBrgb(152, 122, 188)
HSLhsl(267, 33%, 61%)
HSVhsv(267, 35%, 74%)
CMYKcmyk(19.1%, 35.1%, 0%, 26.3%)
CIE-LABlab(56.31, 24.85, -30.36)
CIE-LCHlch(56.31, 39.23, 309.31°)
OKLaboklab(63.32% 0.0577 -0.0839)
OKLCHoklch(63.32% 0.102 304.5)
XYZxyz(28.9837, 24.2254, 50.7163)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987ABC #9EBC7A
analogous
#7A7DBC #987ABC #B97ABC
triadic
#987ABC #BC987A #7ABC98
tetradic
#987ABC #BC7A7D #9EBC7A #7ABCB9
square
#987ABC #BC7A7D #9EBC7A #7ABCB9
split-complementary
#987ABC #BCB97A #7DBC7A
monochromatic
#5B3F7D #7953A5 #987ABC #B8A3D1 #D7CBE5

Accessibility & contrast

On white

3.59
#987ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#987ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987ABC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987ABC#FFFFFF#000000##000000
##987ABC1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BF
Deuteranopia (green-blind)
#7287BA
Tritanopia (blue-blind)
#928492
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #987abc;
/* rgb */ color: rgb(152, 122, 188);
/* oklch */ color: oklch(63.3% 0.102 304.5);
Tailwind
colors: {
  custom: {
    50: '#b7a0d0',
    500: '#987abc',
    950: '#000000',
  },
}
SCSS
$custom: #987abc;
$custom-light: #b7a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#987abc",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 267.273,
    "s": 33,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63322,
    "c": 0.10184,
    "h": 304.5
  },
  "luminance": 0.24225
}

Semantic roles & 50–950 ramp

primary
#987ABC
secondary
#CAD5BC
accent
#AC3A78
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110F14
muted
#807E82

Preview Lab

Preview with #987ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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