#987CBD#987CBD

#987CBD is a light, moderate violet. Relative luminance 0.248; OKLCH L 63.7% C 0.100 H 303.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#987CBD
RGBrgb(152, 124, 189)
HSLhsl(266, 33%, 61%)
HSVhsv(266, 34%, 74%)
CMYKcmyk(19.6%, 34.4%, 0%, 25.9%)
CIE-LABlab(56.85, 23.93, -30.10)
CIE-LCHlch(56.85, 38.45, 308.48°)
OKLaboklab(63.74% 0.055 -0.0832)
OKLCHoklch(63.74% 0.1 303.5)
XYZxyz(29.3400, 24.7649, 51.3687)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987CBD #A1BD7C
analogous
#7C81BD #987CBD #B97CBD
triadic
#987CBD #BD987C #7CBD98
tetradic
#987CBD #BD7C81 #A1BD7C #7CBDB9
square
#987CBD #BD7C81 #A1BD7C #7CBDB9
split-complementary
#987CBD #BDB97C #81BD7C
monochromatic
#5B407F #7854A7 #987CBD #B8A5D2 #D8CDE6

Accessibility & contrast

On white

3.53
#987CBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#987CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987CBD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987CBD#FFFFFF#000000##000000
##987CBD1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88C0
Deuteranopia (green-blind)
#7388BB
Tritanopia (blue-blind)
#928694
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #987cbd;
/* rgb */ color: rgb(152, 124, 189);
/* oklch */ color: oklch(63.7% 0.100 303.5);
Tailwind
colors: {
  custom: {
    50: '#b7a2d1',
    500: '#987cbd',
    950: '#000000',
  },
}
SCSS
$custom: #987cbd;
$custom-light: #b7a2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#987cbd",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 189
  },
  "hsl": {
    "h": 265.846,
    "s": 32.995,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63742,
    "c": 0.09972,
    "h": 303.5
  },
  "luminance": 0.24765
}

Semantic roles & 50–950 ramp

primary
#987CBD
secondary
#CCD7BE
accent
#AC3A7B
background
#FBFAFC
surface
#F6F3F9
border
#D0CDD2
text
#110F14
muted
#807F82

Preview Lab

Preview with #987CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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