#D986EF#D986EF

#D986EF is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.4% C 0.169 H 319.0°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#D986EF
RGBrgb(217, 134, 239)
HSLhsl(287, 77%, 73%)
HSVhsv(287, 44%, 94%)
CMYKcmyk(9.2%, 43.9%, 0%, 6.3%)
CIE-LABlab(68.05, 48.54, -40.12)
CIE-LCHlch(68.05, 62.97, 320.43°)
OKLaboklab(74.44% 0.1273 -0.1107)
OKLCHoklch(74.44% 0.169 319)
XYZxyz(52.7183, 38.0357, 86.2092)
Luminance0.3803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D986EF #9CEF86
analogous
#A486EF #D986EF #EF86D0
triadic
#D986EF #EFD986 #86EFD9
tetradic
#D986EF #EFA486 #9CEF86 #86D0EF
square
#D986EF #EFA486 #9CEF86 #86D0EF
split-complementary
#D986EF #D0EF86 #86EFA4
monochromatic
#B51DDD #C850E8 #D986EF #EABCF6 #F7E4FB

Accessibility & contrast

On white

2.44
#D986EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#D986EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D986EF
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D986EF#FFFFFF#000000##000000
##D986EF1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F3
Deuteranopia (green-blind)
#8CA9EC
Tritanopia (blue-blind)
#DA94AF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d986ef;
/* rgb */ color: rgb(217, 134, 239);
/* oklch */ color: oklch(74.4% 0.169 319.0);
Tailwind
colors: {
  custom: {
    50: '#e6abf4',
    500: '#d986ef',
    950: '#000000',
  },
}
SCSS
$custom: #d986ef;
$custom-light: #e6abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d986ef",
  "rgb": {
    "r": 217,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 287.429,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74441,
    "c": 0.16874,
    "h": 319
  },
  "luminance": 0.38034
}

Semantic roles & 50–950 ramp

primary
#D986EF
secondary
#DEF3D8
accent
#D90D37
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D986EF

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

Preview Lab → · Contrast checker → · Palette generator →

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