#987DED#987DED

#987DED is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.4% C 0.162 H 292.5°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#987DED
RGBrgb(152, 125, 237)
HSLhsl(254, 76%, 71%)
HSVhsv(254, 47%, 93%)
CMYKcmyk(35.9%, 47.3%, 0%, 7.1%)
CIE-LABlab(59.39, 35.32, -53.10)
CIE-LCHlch(59.39, 63.77, 303.63°)
OKLaboklab(66.43% 0.0622 -0.1499)
OKLCHoklch(66.43% 0.162 292.5)
XYZxyz(35.5646, 27.4562, 83.5301)
Luminance0.2746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987DED #D2ED7D
analogous
#7D9AED #987DED #D07DED
triadic
#987DED #ED987D #7DED98
tetradic
#987DED #ED7D9A #D2ED7D #7DEDD0
square
#987DED #ED7D9A #D2ED7D #7DEDD0
split-complementary
#987DED #EDD07D #9AED7D
monochromatic
#491DD2 #6D47E6 #987DED #C3B3F4 #EAE4FB

Accessibility & contrast

On white

3.24
#987DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#987DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987DED
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987DED#FFFFFF#000000##000000
##987DED1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F1
Deuteranopia (green-blind)
#598DEA
Tritanopia (blue-blind)
#8393AA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #987ded;
/* rgb */ color: rgb(152, 125, 237);
/* oklch */ color: oklch(66.4% 0.162 292.5);
Tailwind
colors: {
  custom: {
    50: '#baa3f3',
    500: '#987ded',
    950: '#000000',
  },
}
SCSS
$custom: #987ded;
$custom-light: #baa3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#987ded",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 254.464,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66425,
    "c": 0.16225,
    "h": 292.5
  },
  "luminance": 0.27457
}

Semantic roles & 50–950 ramp

primary
#987DED
secondary
#EBF2D4
accent
#D80EA7
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #987DED

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

Preview Lab → · Contrast checker → · Palette generator →

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