#D984E5#D984E5

#D984E5 is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.7% C 0.162 H 322.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#D984E5
RGBrgb(217, 132, 229)
HSLhsl(293, 65%, 71%)
HSVhsv(293, 42%, 90%)
CMYKcmyk(5.2%, 42.4%, 0%, 10.2%)
CIE-LABlab(67.21, 47.65, -35.91)
CIE-LCHlch(67.21, 59.66, 323.00°)
OKLaboklab(73.68% 0.1284 -0.0986)
OKLCHoklch(73.68% 0.162 322.5)
XYZxyz(51.0079, 36.9134, 78.5517)
Luminance0.3691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D984E5 #90E584
analogous
#A884E5 #D984E5 #E584C0
triadic
#D984E5 #E5D984 #84E5D9
tetradic
#D984E5 #E5A884 #90E584 #84C0E5
square
#D984E5 #E5A884 #90E584 #84C0E5
split-complementary
#D984E5 #C0E584 #84E5A8
monochromatic
#B22AC5 #C951DA #D984E5 #E9B7F0 #F7E6FA

Accessibility & contrast

On white

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

On black

8.38
#D984E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D984E5
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D984E5#FFFFFF#000000##000000
##D984E51.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#789DE8
Deuteranopia (green-blind)
#8FA7E2
Tritanopia (blue-blind)
#DC8FAA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d984e5;
/* rgb */ color: rgb(217, 132, 229);
/* oklch */ color: oklch(73.7% 0.162 322.5);
Tailwind
colors: {
  custom: {
    50: '#e6aaed',
    500: '#d984e5',
    950: '#000000',
  },
}
SCSS
$custom: #d984e5;
$custom-light: #e6aaed;
$custom-dark: #000000;
JSON
{
  "hex": "#d984e5",
  "rgb": {
    "r": 217,
    "g": 132,
    "b": 229
  },
  "hsl": {
    "h": 292.577,
    "s": 65.101,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73677,
    "c": 0.16187,
    "h": 322.5
  },
  "luminance": 0.36911
}

Semantic roles & 50–950 ramp

primary
#D984E5
secondary
#D9EFD5
accent
#CD192F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D984E5

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

Preview Lab → · Contrast checker → · Palette generator →

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