#D984E7#D984E7

#D984E7 is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.8% C 0.164 H 321.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#D984E7
RGBrgb(217, 132, 231)
HSLhsl(292, 67%, 71%)
HSVhsv(292, 43%, 91%)
CMYKcmyk(6.1%, 42.9%, 0%, 9.4%)
CIE-LABlab(67.30, 48.03, -36.88)
CIE-LCHlch(67.30, 60.56, 322.48°)
OKLaboklab(73.77% 0.1287 -0.1014)
OKLCHoklch(73.77% 0.164 321.8)
XYZxyz(51.2887, 37.0257, 80.0308)
Luminance0.3702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D984E7 #92E784
analogous
#A784E7 #D984E7 #E784C3
triadic
#D984E7 #E7D984 #84E7D9
tetradic
#D984E7 #E7A784 #92E784 #84C3E7
square
#D984E7 #E7A784 #92E784 #84C3E7
split-complementary
#D984E7 #C3E784 #84E7A7
monochromatic
#B227C9 #C951DD #D984E7 #E9B7F1 #F7E5FA

Accessibility & contrast

On white

2.50
#D984E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#D984E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D984E7
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D984E7#FFFFFF#000000##000000
##D984E71.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#779EEB
Deuteranopia (green-blind)
#8EA7E4
Tritanopia (blue-blind)
#DB90AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d984e7;
/* rgb */ color: rgb(217, 132, 231);
/* oklch */ color: oklch(73.8% 0.164 321.8);
Tailwind
colors: {
  custom: {
    50: '#e6aaef',
    500: '#d984e7',
    950: '#000000',
  },
}
SCSS
$custom: #d984e7;
$custom-light: #e6aaef;
$custom-dark: #000000;
JSON
{
  "hex": "#d984e7",
  "rgb": {
    "r": 217,
    "g": 132,
    "b": 231
  },
  "hsl": {
    "h": 291.515,
    "s": 67.347,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73768,
    "c": 0.16388,
    "h": 321.8
  },
  "luminance": 0.37024
}

Semantic roles & 50–950 ramp

primary
#D984E7
secondary
#DAF0D6
accent
#CF1630
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D984E7

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

Preview Lab → · Contrast checker → · Palette generator →

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