#987BBD#987BBD

#987BBD is a light, moderate violet. Relative luminance 0.245; OKLCH L 63.6% C 0.101 H 303.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#987BBD
RGBrgb(152, 123, 189)
HSLhsl(266, 33%, 61%)
HSVhsv(266, 35%, 74%)
CMYKcmyk(19.6%, 34.9%, 0%, 25.9%)
CIE-LABlab(56.60, 24.51, -30.48)
CIE-LCHlch(56.60, 39.11, 308.80°)
OKLaboklab(63.55% 0.0565 -0.0843)
OKLCHoklch(63.55% 0.101 303.8)
XYZxyz(29.2153, 24.5155, 51.3271)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987BBD #A0BD7B
analogous
#7B7FBD #987BBD #B97BBD
triadic
#987BBD #BD987B #7BBD98
tetradic
#987BBD #BD7B7F #A0BD7B #7BBDB9
square
#987BBD #BD7B7F #A0BD7B #7BBDB9
split-complementary
#987BBD #BDB97B #7FBD7B
monochromatic
#5B3F7E #7854A7 #987BBD #B8A4D1 #D8CDE6

Accessibility & contrast

On white

3.56
#987BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#987BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987BBD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987BBD#FFFFFF#000000##000000
##987BBD1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87C0
Deuteranopia (green-blind)
#7288BB
Tritanopia (blue-blind)
#928593
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #987bbd;
/* rgb */ color: rgb(152, 123, 189);
/* oklch */ color: oklch(63.6% 0.101 303.8);
Tailwind
colors: {
  custom: {
    50: '#b7a1d1',
    500: '#987bbd',
    950: '#000000',
  },
}
SCSS
$custom: #987bbd;
$custom-light: #b7a1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#987bbd",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 266.364,
    "s": 33.333,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63555,
    "c": 0.10144,
    "h": 303.8
  },
  "luminance": 0.24515
}

Semantic roles & 50–950 ramp

primary
#987BBD
secondary
#CBD6BE
accent
#AC397A
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110F14
muted
#807E82

Preview Lab

Preview with #987BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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