#D986FE#D986FE

#D986FE is a light, vivid purple. Relative luminance 0.390; OKLCH L 75.2% C 0.185 H 314.6°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#D986FE
RGBrgb(217, 134, 254)
HSLhsl(282, 98%, 76%)
HSVhsv(282, 47%, 100%)
CMYKcmyk(14.6%, 47.2%, 0%, 0.4%)
CIE-LABlab(68.72, 51.54, -47.27)
CIE-LCHlch(68.72, 69.94, 317.48°)
OKLaboklab(75.17% 0.1296 -0.1313)
OKLCHoklch(75.17% 0.185 314.6)
XYZxyz(55.0269, 38.9591, 98.3679)
Luminance0.3896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D986FE #ABFE86
analogous
#9D86FE #D986FE #FE86E7
triadic
#D986FE #FED986 #86FED9
tetradic
#D986FE #FE9D86 #ABFE86 #86E7FE
square
#D986FE #FE9D86 #ABFE86 #86E7FE
split-complementary
#D986FE #E7FE86 #86FE9D
monochromatic
#B30DFD #C649FD #D986FE #ECC3FF #F5E1FF

Accessibility & contrast

On white

2.39
#D986FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#D986FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D986FE
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D986FE#FFFFFF#000000##000000
##D986FE1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#85AAFB
Tritanopia (blue-blind)
#D698B6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d986fe;
/* rgb */ color: rgb(217, 134, 254);
/* oklch */ color: oklch(75.2% 0.185 314.6);
Tailwind
colors: {
  custom: {
    50: '#e7abff',
    500: '#d986fe',
    950: '#000000',
  },
}
SCSS
$custom: #d986fe;
$custom-light: #e7abff;
$custom-dark: #000000;
JSON
{
  "hex": "#d986fe",
  "rgb": {
    "r": 217,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 281.5,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75165,
    "c": 0.18452,
    "h": 314.6
  },
  "luminance": 0.38958
}

Semantic roles & 50–950 ramp

primary
#D986FE
secondary
#DFF7D4
accent
#E60047
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D986FE

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

Preview Lab → · Contrast checker → · Palette generator →

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