#D986EC#D986EC

#D986EC is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.3% C 0.166 H 320.0°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#D986EC
RGBrgb(217, 134, 236)
HSLhsl(289, 73%, 73%)
HSVhsv(289, 43%, 93%)
CMYKcmyk(8.1%, 43.2%, 0%, 7.5%)
CIE-LABlab(67.92, 47.96, -38.67)
CIE-LCHlch(67.92, 61.60, 321.12°)
OKLaboklab(74.3% 0.1268 -0.1065)
OKLCHoklch(74.3% 0.166 320)
XYZxyz(52.2788, 37.8599, 83.8944)
Luminance0.3786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D986EC #99EC86
analogous
#A686EC #D986EC #EC86CC
triadic
#D986EC #ECD986 #86ECD9
tetradic
#D986EC #ECA686 #99EC86 #86CCEC
square
#D986EC #ECA686 #99EC86 #86CCEC
split-complementary
#D986EC #CCEC86 #86ECA6
monochromatic
#B422D6 #C851E4 #D986EC #EABBF4 #F7E5FB

Accessibility & contrast

On white

2.45
#D986EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#D986EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D986EC
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D986EC#FFFFFF#000000##000000
##D986EC1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F0
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#DA93AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d986ec;
/* rgb */ color: rgb(217, 134, 236);
/* oklch */ color: oklch(74.3% 0.166 320.0);
Tailwind
colors: {
  custom: {
    50: '#e6abf2',
    500: '#d986ec',
    950: '#000000',
  },
}
SCSS
$custom: #d986ec;
$custom-light: #e6abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d986ec",
  "rgb": {
    "r": 217,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 288.824,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74302,
    "c": 0.16563,
    "h": 320
  },
  "luminance": 0.37858
}

Semantic roles & 50–950 ramp

primary
#D986EC
secondary
#DDF3D8
accent
#D51135
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D986EC

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

Preview Lab → · Contrast checker → · Palette generator →

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