#987DBE#987DBE

#987DBE is a light, moderate violet. Relative luminance 0.251; OKLCH L 64.0% C 0.099 H 302.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#987DBE
RGBrgb(152, 125, 190)
HSLhsl(265, 33%, 62%)
HSVhsv(265, 34%, 75%)
CMYKcmyk(20%, 34.2%, 0%, 25.5%)
CIE-LABlab(57.13, 23.58, -30.22)
CIE-LCHlch(57.13, 38.33, 307.97°)
OKLaboklab(63.98% 0.0538 -0.0835)
OKLCHoklch(63.98% 0.099 302.8)
XYZxyz(29.5748, 25.0604, 51.9843)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987DBE #A3BE7D
analogous
#7D83BE #987DBE #B97DBE
triadic
#987DBE #BE987D #7DBE98
tetradic
#987DBE #BE7D83 #A3BE7D #7DBEB9
square
#987DBE #BE7D83 #A3BE7D #7DBEB9
split-complementary
#987DBE #BEB97D #83BE7D
monochromatic
#5B4080 #7855A9 #987DBE #B8A6D2 #D9CFE7

Accessibility & contrast

On white

3.49
#987DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#987DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987DBE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987DBE#FFFFFF#000000##000000
##987DBE1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89C1
Deuteranopia (green-blind)
#7489BC
Tritanopia (blue-blind)
#928795
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #987dbe;
/* rgb */ color: rgb(152, 125, 190);
/* oklch */ color: oklch(64.0% 0.099 302.8);
Tailwind
colors: {
  custom: {
    50: '#b7a3d2',
    500: '#987dbe',
    950: '#000000',
  },
}
SCSS
$custom: #987dbe;
$custom-light: #b7a3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#987dbe",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 190
  },
  "hsl": {
    "h": 264.923,
    "s": 33.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63976,
    "c": 0.09935,
    "h": 302.8
  },
  "luminance": 0.2506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #987DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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