#987DCE#987DCE

#987DCE is a light, vivid violet. Relative luminance 0.258; OKLCH L 64.8% C 0.121 H 298.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#987DCE
RGBrgb(152, 125, 206)
HSLhsl(260, 45%, 65%)
HSVhsv(260, 39%, 81%)
CMYKcmyk(26.2%, 39.3%, 0%, 19.2%)
CIE-LABlab(57.85, 27.42, -38.19)
CIE-LCHlch(57.85, 47.01, 305.68°)
OKLaboklab(64.75% 0.0574 -0.1065)
OKLCHoklch(64.75% 0.121 298.3)
XYZxyz(31.4205, 25.7986, 61.7048)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987DCE #B3CE7D
analogous
#7D8BCE #987DCE #C07DCE
triadic
#987DCE #CE987D #7DCE98
tetradic
#987DCE #CE7D8B #B3CE7D #7DCEC0
square
#987DCE #CE7D8B #B3CE7D #7DCEC0
split-complementary
#987DCE #CEC07D #8BCE7D
monochromatic
#593997 #7551BD #987DCE #BBA9DF #DED6F0

Accessibility & contrast

On white

3.41
#987DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#987DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987DCE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987DCE#FFFFFF#000000##000000
##987DCE1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD1
Deuteranopia (green-blind)
#6C8ACC
Tritanopia (blue-blind)
#8D8B9C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #987dce;
/* rgb */ color: rgb(152, 125, 206);
/* oklch */ color: oklch(64.8% 0.121 298.3);
Tailwind
colors: {
  custom: {
    50: '#b8a3dd',
    500: '#987dce',
    950: '#000000',
  },
}
SCSS
$custom: #987dce;
$custom-light: #b8a3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#987dce",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 260,
    "s": 45.251,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64751,
    "c": 0.12094,
    "h": 298.3
  },
  "luminance": 0.25799
}

Semantic roles & 50–950 ramp

primary
#987DCE
secondary
#D8E1C6
accent
#B82D8A
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #987DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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