#987BBB#987BBB

#987BBB is a light, moderate violet. Relative luminance 0.244; OKLCH L 63.5% C 0.099 H 304.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#987BBB
RGBrgb(152, 123, 187)
HSLhsl(267, 32%, 61%)
HSVhsv(267, 34%, 73%)
CMYKcmyk(18.7%, 34.2%, 0%, 26.7%)
CIE-LABlab(56.52, 24.04, -29.47)
CIE-LCHlch(56.52, 38.03, 309.21°)
OKLaboklab(63.46% 0.056 -0.0814)
OKLCHoklch(63.46% 0.099 304.5)
XYZxyz(28.9997, 24.4293, 50.1916)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987BBB #9EBB7B
analogous
#7B7EBB #987BBB #B87BBB
triadic
#987BBB #BB987B #7BBB98
tetradic
#987BBB #BB7B7E #9EBB7B #7BBBB8
square
#987BBB #BB7B7E #9EBB7B #7BBBB8
split-complementary
#987BBB #BBB87B #7EBB7B
monochromatic
#5B407C #7955A4 #987BBB #B8A3D0 #D7CCE5

Accessibility & contrast

On white

3.57
#987BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#987BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987BBB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987BBB#FFFFFF#000000##000000
##987BBB1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E87BE
Deuteranopia (green-blind)
#7388B9
Tritanopia (blue-blind)
#938592
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #987bbb;
/* rgb */ color: rgb(152, 123, 187);
/* oklch */ color: oklch(63.5% 0.099 304.5);
Tailwind
colors: {
  custom: {
    50: '#b7a1cf',
    500: '#987bbb',
    950: '#000000',
  },
}
SCSS
$custom: #987bbb;
$custom-light: #b7a1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#987bbb",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 187
  },
  "hsl": {
    "h": 267.188,
    "s": 32,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63462,
    "c": 0.09877,
    "h": 304.5
  },
  "luminance": 0.24429
}

Semantic roles & 50–950 ramp

primary
#987BBB
secondary
#CAD5BD
accent
#AB3B78
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110F14
muted
#807E82

Preview Lab

Preview with #987BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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