#987ABB#987ABB

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

Color values

HEX#987ABB
RGBrgb(152, 122, 187)
HSLhsl(268, 32%, 61%)
HSVhsv(268, 35%, 73%)
CMYKcmyk(18.7%, 34.8%, 0%, 26.7%)
CIE-LABlab(56.27, 24.62, -29.85)
CIE-LCHlch(56.27, 38.69, 309.51°)
OKLaboklab(63.28% 0.0575 -0.0824)
OKLCHoklch(63.28% 0.101 304.9)
XYZxyz(28.8763, 24.1824, 50.1505)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987ABB #9DBB7A
analogous
#7A7CBB #987ABB #B87ABB
triadic
#987ABB #BB987A #7ABB98
tetradic
#987ABB #BB7A7C #9DBB7A #7ABBB8
square
#987ABB #BB7A7C #9DBB7A #7ABBB8
split-complementary
#987ABB #BBB87A #7CBB7A
monochromatic
#5B3F7B #7954A4 #987ABB #B7A2D0 #D7CBE4

Accessibility & contrast

On white

3.60
#987ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#987ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987ABB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987ABB#FFFFFF#000000##000000
##987ABB1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BE
Deuteranopia (green-blind)
#7287B9
Tritanopia (blue-blind)
#938492
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #987abb;
/* rgb */ color: rgb(152, 122, 187);
/* oklch */ color: oklch(63.3% 0.101 304.9);
Tailwind
colors: {
  custom: {
    50: '#b7a0cf',
    500: '#987abb',
    950: '#000000',
  },
}
SCSS
$custom: #987abb;
$custom-light: #b7a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#987abb",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 187
  },
  "hsl": {
    "h": 267.692,
    "s": 32.338,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63276,
    "c": 0.1005,
    "h": 304.9
  },
  "luminance": 0.24182
}

Semantic roles & 50–950 ramp

primary
#987ABB
secondary
#C9D5BC
accent
#AB3A77
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110F14
muted
#807E82

Preview Lab

Preview with #987ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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