#D986FD#D986FD

#D986FD is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.1% C 0.183 H 314.9°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#D986FD
RGBrgb(217, 134, 253)
HSLhsl(282, 97%, 76%)
HSVhsv(282, 47%, 99%)
CMYKcmyk(14.2%, 47%, 0%, 0.8%)
CIE-LABlab(68.68, 51.34, -46.80)
CIE-LCHlch(68.68, 69.47, 317.65°)
OKLaboklab(75.11% 0.1295 -0.13)
OKLCHoklch(75.11% 0.183 314.9)
XYZxyz(54.8672, 38.8952, 97.5267)
Luminance0.3889 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D986FD #AAFD86
analogous
#9D86FD #D986FD #FD86E5
triadic
#D986FD #FDD986 #86FDD9
tetradic
#D986FD #FD9D86 #AAFD86 #86E5FD
square
#D986FD #FD9D86 #AAFD86 #86E5FD
split-complementary
#D986FD #E5FD86 #86FD9D
monochromatic
#B30EFB #C64AFC #D986FD #ECC2FE #F6E1FF

Accessibility & contrast

On white

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

On black

8.78
#D986FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D986FD
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D986FD#FFFFFF#000000##000000
##D986FD1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#85AAFA
Tritanopia (blue-blind)
#D798B6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d986fd;
/* rgb */ color: rgb(217, 134, 253);
/* oklch */ color: oklch(75.1% 0.183 314.9);
Tailwind
colors: {
  custom: {
    50: '#e7abfe',
    500: '#d986fd',
    950: '#000000',
  },
}
SCSS
$custom: #d986fd;
$custom-light: #e7abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d986fd",
  "rgb": {
    "r": 217,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 281.849,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75115,
    "c": 0.18345,
    "h": 314.9
  },
  "luminance": 0.38894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D986FD

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

Preview Lab → · Contrast checker → · Palette generator →

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