#987CD0#987CD0

#987CD0 is a light, vivid violet. Relative luminance 0.256; OKLCH L 64.7% C 0.125 H 298.2°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#987CD0
RGBrgb(152, 124, 208)
HSLhsl(260, 47%, 65%)
HSVhsv(260, 40%, 82%)
CMYKcmyk(26.9%, 40.4%, 0%, 18.4%)
CIE-LABlab(57.70, 28.49, -39.55)
CIE-LCHlch(57.70, 48.74, 305.77°)
OKLaboklab(64.67% 0.0592 -0.1104)
OKLCHoklch(64.67% 0.125 298.2)
XYZxyz(31.5391, 25.6445, 62.9506)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987CD0 #B4D07C
analogous
#7C8AD0 #987CD0 #C27CD0
triadic
#987CD0 #D0987C #7CD098
tetradic
#987CD0 #D07C8A #B4D07C #7CD0C2
square
#987CD0 #D07C8A #B4D07C #7CD0C2
split-complementary
#987CD0 #D0C27C #8AD07C
monochromatic
#58379A #754FC0 #987CD0 #BBA9E0 #DFD6F0

Accessibility & contrast

On white

3.43
#987CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#987CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987CD0
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987CD0#FFFFFF#000000##000000
##987CD01.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#658BD3
Deuteranopia (green-blind)
#6A8ACE
Tritanopia (blue-blind)
#8D8A9C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #987cd0;
/* rgb */ color: rgb(152, 124, 208);
/* oklch */ color: oklch(64.7% 0.125 298.2);
Tailwind
colors: {
  custom: {
    50: '#b8a2df',
    500: '#987cd0',
    950: '#000000',
  },
}
SCSS
$custom: #987cd0;
$custom-light: #b8a2df;
$custom-dark: #000000;
JSON
{
  "hex": "#987cd0",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 208
  },
  "hsl": {
    "h": 260,
    "s": 47.191,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6467,
    "c": 0.12525,
    "h": 298.2
  },
  "luminance": 0.25645
}

Semantic roles & 50–950 ramp

primary
#987CD0
secondary
#D9E2C6
accent
#BA2B8B
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #987CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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