#D984E4#D984E4

#D984E4 is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.6% C 0.161 H 322.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#D984E4
RGBrgb(217, 132, 228)
HSLhsl(293, 64%, 71%)
HSVhsv(293, 42%, 89%)
CMYKcmyk(4.8%, 42.1%, 0%, 10.6%)
CIE-LABlab(67.17, 47.46, -35.42)
CIE-LCHlch(67.17, 59.22, 323.27°)
OKLaboklab(73.63% 0.1282 -0.0972)
OKLCHoklch(73.63% 0.161 322.8)
XYZxyz(50.8686, 36.8577, 77.8185)
Luminance0.3686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D984E4 #8FE484
analogous
#A984E4 #D984E4 #E484BF
triadic
#D984E4 #E4D984 #84E4D9
tetradic
#D984E4 #E4A984 #8FE484 #84BFE4
square
#D984E4 #E4A984 #8FE484 #84BFE4
split-complementary
#D984E4 #BFE484 #84E4A9
monochromatic
#B12BC3 #C952D9 #D984E4 #E9B6EF #F7E6F9

Accessibility & contrast

On white

2.51
#D984E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#D984E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D984E4
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D984E4#FFFFFF#000000##000000
##D984E41.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE7
Deuteranopia (green-blind)
#8FA7E1
Tritanopia (blue-blind)
#DC8FA9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d984e4;
/* rgb */ color: rgb(217, 132, 228);
/* oklch */ color: oklch(73.6% 0.161 322.8);
Tailwind
colors: {
  custom: {
    50: '#e6aaed',
    500: '#d984e4',
    950: '#000000',
  },
}
SCSS
$custom: #d984e4;
$custom-light: #e6aaed;
$custom-dark: #000000;
JSON
{
  "hex": "#d984e4",
  "rgb": {
    "r": 217,
    "g": 132,
    "b": 228
  },
  "hsl": {
    "h": 293.125,
    "s": 64,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73632,
    "c": 0.16087,
    "h": 322.8
  },
  "luminance": 0.36856
}

Semantic roles & 50–950 ramp

primary
#D984E4
secondary
#D8EFD5
accent
#CC1A2E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D984E4

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

Preview Lab → · Contrast checker → · Palette generator →

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