#987CDA#987CDA

#987CDA is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.2% C 0.139 H 296.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#987CDA
RGBrgb(152, 124, 218)
HSLhsl(258, 56%, 67%)
HSVhsv(258, 43%, 85%)
CMYKcmyk(30.3%, 43.1%, 0%, 14.5%)
CIE-LABlab(58.18, 30.99, -44.42)
CIE-LCHlch(58.18, 54.16, 304.91°)
OKLaboklab(65.19% 0.0609 -0.1245)
OKLCHoklch(65.19% 0.139 296.1)
XYZxyz(32.8083, 26.1522, 69.6355)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987CDA #BEDA7C
analogous
#7C8FDA #987CDA #C77CDA
triadic
#987CDA #DA987C #7CDA98
tetradic
#987CDA #DA7C8F #BEDA7C #7CDAC7
square
#987CDA #DA7C8F #BEDA7C #7CDAC7
split-complementary
#987CDA #DAC77C #8FDA7C
monochromatic
#5530AB #724CCD #987CDA #BEACE7 #E3DBF5

Accessibility & contrast

On white

3.37
#987CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#987CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987CDA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987CDA#FFFFFF#000000##000000
##987CDA1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#608CDD
Deuteranopia (green-blind)
#658BD8
Tritanopia (blue-blind)
#8A8DA0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #987cda;
/* rgb */ color: rgb(152, 124, 218);
/* oklch */ color: oklch(65.2% 0.139 296.1);
Tailwind
colors: {
  custom: {
    50: '#b9a2e6',
    500: '#987cda',
    950: '#000000',
  },
}
SCSS
$custom: #987cda;
$custom-light: #b9a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#987cda",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 257.872,
    "s": 55.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65193,
    "c": 0.13863,
    "h": 296.1
  },
  "luminance": 0.26153
}

Semantic roles & 50–950 ramp

primary
#987CDA
secondary
#DFE8CA
accent
#C32293
background
#FBFAFE
surface
#F6F3FC
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #987CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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