#D986EA#D986EA

#D986EA is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.2% C 0.164 H 320.6°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#D986EA
RGBrgb(217, 134, 234)
HSLhsl(290, 70%, 72%)
HSVhsv(290, 43%, 92%)
CMYKcmyk(7.3%, 42.7%, 0%, 8.2%)
CIE-LABlab(67.83, 47.57, -37.70)
CIE-LCHlch(67.83, 60.70, 321.60°)
OKLaboklab(74.21% 0.1265 -0.1038)
OKLCHoklch(74.21% 0.164 320.6)
XYZxyz(51.9899, 37.7443, 82.3727)
Luminance0.3774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D986EA #97EA86
analogous
#A786EA #D986EA #EA86C9
triadic
#D986EA #EAD986 #86EAD9
tetradic
#D986EA #EAA786 #97EA86 #86C9EA
square
#D986EA #EAA786 #97EA86 #86C9EA
split-complementary
#D986EA #C9EA86 #86EAA7
monochromatic
#B424D1 #C952E1 #D986EA #E9BAF3 #F7E5FA

Accessibility & contrast

On white

2.46
#D986EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#D986EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D986EA
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D986EA#FFFFFF#000000##000000
##D986EA1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#789FEE
Deuteranopia (green-blind)
#8EA8E7
Tritanopia (blue-blind)
#DB92AD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d986ea;
/* rgb */ color: rgb(217, 134, 234);
/* oklch */ color: oklch(74.2% 0.164 320.6);
Tailwind
colors: {
  custom: {
    50: '#e6abf1',
    500: '#d986ea',
    950: '#000000',
  },
}
SCSS
$custom: #d986ea;
$custom-light: #e6abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d986ea",
  "rgb": {
    "r": 217,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 289.8,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7421,
    "c": 0.16358,
    "h": 320.6
  },
  "luminance": 0.37742
}

Semantic roles & 50–950 ramp

primary
#D986EA
secondary
#DDF2D9
accent
#D21334
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D986EA

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

Preview Lab → · Contrast checker → · Palette generator →

#D986EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva