#D984EB#D984EB

#D984EB is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.0% C 0.168 H 320.4°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#D984EB
RGBrgb(217, 132, 235)
HSLhsl(290, 72%, 72%)
HSVhsv(290, 44%, 92%)
CMYKcmyk(7.7%, 43.8%, 0%, 7.8%)
CIE-LABlab(67.47, 48.80, -38.82)
CIE-LCHlch(67.47, 62.36, 321.50°)
OKLaboklab(73.95% 0.1295 -0.107)
OKLCHoklch(73.95% 0.168 320.4)
XYZxyz(51.8601, 37.2543, 83.0402)
Luminance0.3725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D984EB #96EB84
analogous
#A684EB #D984EB #EB84C9
triadic
#D984EB #EBD984 #84EBD9
tetradic
#D984EB #EBA684 #96EB84 #84C9EB
square
#D984EB #EBA684 #96EB84 #84C9EB
split-complementary
#D984EB #C9EB84 #84EBA6
monochromatic
#B422D2 #C94FE2 #D984EB #E9B9F4 #F7E5FB

Accessibility & contrast

On white

2.49
#D984EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#D984EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D984EB
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D984EB#FFFFFF#000000##000000
##D984EB1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEF
Deuteranopia (green-blind)
#8CA7E8
Tritanopia (blue-blind)
#DB91AD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d984eb;
/* rgb */ color: rgb(217, 132, 235);
/* oklch */ color: oklch(74.0% 0.168 320.4);
Tailwind
colors: {
  custom: {
    50: '#e6aaf2',
    500: '#d984eb',
    950: '#000000',
  },
}
SCSS
$custom: #d984eb;
$custom-light: #e6aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d984eb",
  "rgb": {
    "r": 217,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 289.515,
    "s": 72.028,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73952,
    "c": 0.16793,
    "h": 320.4
  },
  "luminance": 0.37252
}

Semantic roles & 50–950 ramp

primary
#D984EB
secondary
#DDF2D8
accent
#D41133
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D984EB

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

Preview Lab → · Contrast checker → · Palette generator →

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