#D986FB#D986FB

#D986FB is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.0% C 0.181 H 315.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#D986FB
RGBrgb(217, 134, 251)
HSLhsl(283, 94%, 75%)
HSVhsv(283, 47%, 98%)
CMYKcmyk(13.5%, 46.6%, 0%, 1.6%)
CIE-LABlab(68.58, 50.94, -45.85)
CIE-LCHlch(68.58, 68.53, 318.01°)
OKLaboklab(75.02% 0.1292 -0.1272)
OKLCHoklch(75.02% 0.181 315.4)
XYZxyz(54.5503, 38.7684, 95.8576)
Luminance0.3877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D986FB #A8FB86
analogous
#9E86FB #D986FB #FB86E2
triadic
#D986FB #FBD986 #86FBD9
tetradic
#D986FB #FB9E86 #A8FB86 #86E2FB
square
#D986FB #FB9E86 #A8FB86 #86E2FB
split-complementary
#D986FB #E2FB86 #86FB9E
monochromatic
#B410F7 #C64BF9 #D986FB #ECC1FD #F6E1FE

Accessibility & contrast

On white

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

On black

8.75
#D986FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D986FB
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D986FB#FFFFFF#000000##000000
##D986FB1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d986fb;
/* rgb */ color: rgb(217, 134, 251);
/* oklch */ color: oklch(75.0% 0.181 315.4);
Tailwind
colors: {
  custom: {
    50: '#e7abfd',
    500: '#d986fb',
    950: '#000000',
  },
}
SCSS
$custom: #d986fb;
$custom-light: #e7abfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d986fb",
  "rgb": {
    "r": 217,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 282.564,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75016,
    "c": 0.18133,
    "h": 315.4
  },
  "luminance": 0.38767
}

Semantic roles & 50–950 ramp

primary
#D986FB
secondary
#DFF6D5
accent
#E60043
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D986FB

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

Preview Lab → · Contrast checker → · Palette generator →

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