#987CBE#987CBE

#987CBE is a light, moderate violet. Relative luminance 0.248; OKLCH L 63.8% C 0.101 H 303.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#987CBE
RGBrgb(152, 124, 190)
HSLhsl(265, 34%, 62%)
HSVhsv(265, 35%, 75%)
CMYKcmyk(20%, 34.7%, 0%, 25.5%)
CIE-LABlab(56.89, 24.16, -30.60)
CIE-LCHlch(56.89, 38.99, 308.29°)
OKLaboklab(63.79% 0.0553 -0.0846)
OKLCHoklch(63.79% 0.101 303.1)
XYZxyz(29.4489, 24.8084, 51.9423)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987CBE #A2BE7C
analogous
#7C81BE #987CBE #B97CBE
triadic
#987CBE #BE987C #7CBE98
tetradic
#987CBE #BE7C81 #A2BE7C #7CBEB9
square
#987CBE #BE7C81 #A2BE7C #7CBEB9
split-complementary
#987CBE #BEB97C #81BE7C
monochromatic
#5B4080 #7854A9 #987CBE #B8A5D2 #D8CEE7

Accessibility & contrast

On white

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

On black

5.96
#987CBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987CBE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987CBE#FFFFFF#000000##000000
##987CBE1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #987cbe;
/* rgb */ color: rgb(152, 124, 190);
/* oklch */ color: oklch(63.8% 0.101 303.1);
Tailwind
colors: {
  custom: {
    50: '#b7a2d2',
    500: '#987cbe',
    950: '#000000',
  },
}
SCSS
$custom: #987cbe;
$custom-light: #b7a2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#987cbe",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 190
  },
  "hsl": {
    "h": 265.455,
    "s": 33.673,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63789,
    "c": 0.10106,
    "h": 303.1
  },
  "luminance": 0.24808
}

Semantic roles & 50–950 ramp

primary
#987CBE
secondary
#CDD7BF
accent
#AC397B
background
#FBFAFC
surface
#F6F3F9
border
#D0CDD2
text
#110F14
muted
#807F82

Preview Lab

Preview with #987CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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