#D986FC#D986FC

#D986FC is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.1% C 0.182 H 315.2°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#D986FC
RGBrgb(217, 134, 252)
HSLhsl(282, 95%, 76%)
HSVhsv(282, 47%, 99%)
CMYKcmyk(13.9%, 46.8%, 0%, 1.2%)
CIE-LABlab(68.63, 51.14, -46.32)
CIE-LCHlch(68.63, 69.00, 317.83°)
OKLaboklab(75.07% 0.1293 -0.1286)
OKLCHoklch(75.07% 0.182 315.2)
XYZxyz(54.7083, 38.8317, 96.6899)
Luminance0.3883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D986FC #A9FC86
analogous
#9E86FC #D986FC #FC86E4
triadic
#D986FC #FCD986 #86FCD9
tetradic
#D986FC #FC9E86 #A9FC86 #86E4FC
square
#D986FC #FC9E86 #A9FC86 #86E4FC
split-complementary
#D986FC #E4FC86 #86FC9E
monochromatic
#B30FF9 #C64AFB #D986FC #ECC2FD #F6E1FE

Accessibility & contrast

On white

2.40
#D986FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#D986FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D986FC
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D986FC#FFFFFF#000000##000000
##D986FC1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#86AAF9
Tritanopia (blue-blind)
#D797B5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d986fc;
/* rgb */ color: rgb(217, 134, 252);
/* oklch */ color: oklch(75.1% 0.182 315.2);
Tailwind
colors: {
  custom: {
    50: '#e7abfe',
    500: '#d986fc',
    950: '#000000',
  },
}
SCSS
$custom: #d986fc;
$custom-light: #e7abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d986fc",
  "rgb": {
    "r": 217,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 282.203,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75066,
    "c": 0.1824,
    "h": 315.2
  },
  "luminance": 0.3883
}

Semantic roles & 50–950 ramp

primary
#D986FC
secondary
#DFF6D5
accent
#E60044
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D986FC

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

Preview Lab → · Contrast checker → · Palette generator →

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