#987DE0#987DE0

#987DE0 is a light, vivid violet. Relative luminance 0.267; OKLCH L 65.7% C 0.145 H 294.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#987DE0
RGBrgb(152, 125, 224)
HSLhsl(256, 61%, 68%)
HSVhsv(256, 44%, 88%)
CMYKcmyk(32.1%, 44.2%, 0%, 12.2%)
CIE-LABlab(58.72, 31.95, -46.93)
CIE-LCHlch(58.72, 56.77, 304.25°)
OKLaboklab(65.7% 0.0605 -0.1319)
OKLCHoklch(65.7% 0.145 294.6)
XYZxyz(33.7337, 26.7239, 73.8875)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987DE0 #C5E07D
analogous
#7D93E0 #987DE0 #CA7DE0
triadic
#987DE0 #E0987D #7DE098
tetradic
#987DE0 #E07D93 #C5E07D #7DE0CA
square
#987DE0 #E07D93 #C5E07D #7DE0CA
split-complementary
#987DE0 #E0CA7D #93E07D
monochromatic
#522CB7 #714CD4 #987DE0 #BFAEEC #E6E0F8

Accessibility & contrast

On white

3.31
#987DE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#987DE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987DE0
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987DE0#FFFFFF#000000##000000
##987DE01.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE4
Deuteranopia (green-blind)
#628CDE
Tritanopia (blue-blind)
#888FA4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #987de0;
/* rgb */ color: rgb(152, 125, 224);
/* oklch */ color: oklch(65.7% 0.145 294.6);
Tailwind
colors: {
  custom: {
    50: '#b9a3ea',
    500: '#987de0',
    950: '#000000',
  },
}
SCSS
$custom: #987de0;
$custom-light: #b9a3ea;
$custom-dark: #000000;
JSON
{
  "hex": "#987de0",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 224
  },
  "hsl": {
    "h": 256.364,
    "s": 61.491,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65696,
    "c": 0.14506,
    "h": 294.6
  },
  "luminance": 0.26724
}

Semantic roles & 50–950 ramp

primary
#987DE0
secondary
#E3EBCE
accent
#C91C9A
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #987DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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