#987CBF#987CBF

#987CBF is a light, moderate violet. Relative luminance 0.249; OKLCH L 63.8% C 0.102 H 302.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#987CBF
RGBrgb(152, 124, 191)
HSLhsl(265, 34%, 62%)
HSVhsv(265, 35%, 75%)
CMYKcmyk(20.4%, 35.1%, 0%, 25.1%)
CIE-LABlab(56.93, 24.40, -31.11)
CIE-LCHlch(56.93, 39.53, 308.11°)
OKLaboklab(63.84% 0.0555 -0.0861)
OKLCHoklch(63.84% 0.102 302.8)
XYZxyz(29.5585, 24.8523, 52.5199)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987CBF #A3BF7C
analogous
#7C82BF #987CBF #BA7CBF
triadic
#987CBF #BF987C #7CBF98
tetradic
#987CBF #BF7C82 #A3BF7C #7CBFBA
square
#987CBF #BF7C82 #A3BF7C #7CBFBA
split-complementary
#987CBF #BFBA7C #82BF7C
monochromatic
#5B3F81 #7853AB #987CBF #B8A5D3 #D9CEE7

Accessibility & contrast

On white

3.52
#987CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#987CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987CBF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987CBF#FFFFFF#000000##000000
##987CBF1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D88C2
Deuteranopia (green-blind)
#7389BD
Tritanopia (blue-blind)
#928695
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #987cbf;
/* rgb */ color: rgb(152, 124, 191);
/* oklch */ color: oklch(63.8% 0.102 302.8);
Tailwind
colors: {
  custom: {
    50: '#b7a2d2',
    500: '#987cbf',
    950: '#000000',
  },
}
SCSS
$custom: #987cbf;
$custom-light: #b7a2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#987cbf",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 191
  },
  "hsl": {
    "h": 265.075,
    "s": 34.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63836,
    "c": 0.1024,
    "h": 302.8
  },
  "luminance": 0.24852
}

Semantic roles & 50–950 ramp

primary
#987CBF
secondary
#CDD8BF
accent
#AD387C
background
#FBFAFC
surface
#F6F3F9
border
#D0CDD2
text
#110F14
muted
#807F82

Preview Lab

Preview with #987CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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