#987DB4#987DB4

#987DB4 is a light, moderate violet. Relative luminance 0.246; OKLCH L 63.5% C 0.086 H 306.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#987DB4
RGBrgb(152, 125, 180)
HSLhsl(269, 27%, 60%)
HSVhsv(269, 31%, 71%)
CMYKcmyk(15.6%, 30.6%, 0%, 29.4%)
CIE-LABlab(56.72, 21.28, -25.15)
CIE-LCHlch(56.72, 32.95, 310.24°)
OKLaboklab(63.53% 0.0512 -0.0691)
OKLCHoklch(63.53% 0.086 306.5)
XYZxyz(28.5192, 24.6381, 46.4244)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987DB4 #99B47D
analogous
#7D7EB4 #987DB4 #B47DB4
triadic
#987DB4 #B4987D #7DB498
tetradic
#987DB4 #B47D7E #99B47D #7DB4B4
square
#987DB4 #B47D7E #99B47D #7DB4B4
split-complementary
#987DB4 #B4B47D #7EB47D
monochromatic
#5B4374 #79599B #987DB4 #B7A4CA #D5CBE1

Accessibility & contrast

On white

3.54
#987DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#987DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987DB4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987DB4#FFFFFF#000000##000000
##987DB41.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7387B6
Deuteranopia (green-blind)
#7888B2
Tritanopia (blue-blind)
#948591
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #987db4;
/* rgb */ color: rgb(152, 125, 180);
/* oklch */ color: oklch(63.5% 0.086 306.5);
Tailwind
colors: {
  custom: {
    50: '#b7a3ca',
    500: '#987db4',
    950: '#000000',
  },
}
SCSS
$custom: #987db4;
$custom-light: #b7a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#987db4",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 180
  },
  "hsl": {
    "h": 269.455,
    "s": 26.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63525,
    "c": 0.08594,
    "h": 306.5
  },
  "luminance": 0.24638
}

Semantic roles & 50–950 ramp

primary
#987DB4
secondary
#C7D1BC
accent
#C36595
background
#FBFAFC
surface
#F6F3F8
border
#D0CDD1
text
#110F13
muted
#807F82

Preview Lab

Preview with #987DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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