#D984E2#D984E2

#D984E2 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.5% C 0.159 H 323.5°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#D984E2
RGBrgb(217, 132, 226)
HSLhsl(294, 62%, 70%)
HSVhsv(294, 42%, 89%)
CMYKcmyk(4%, 41.6%, 0%, 11.4%)
CIE-LABlab(67.09, 47.08, -34.44)
CIE-LCHlch(67.09, 58.33, 323.81°)
OKLaboklab(73.54% 0.1278 -0.0944)
OKLCHoklch(73.54% 0.159 323.5)
XYZxyz(50.5926, 36.7473, 76.3647)
Luminance0.3674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D984E2 #8DE284
analogous
#AA84E2 #D984E2 #E284BC
triadic
#D984E2 #E2D984 #84E2D9
tetradic
#D984E2 #E2AA84 #8DE284 #84BCE2
square
#D984E2 #E2AA84 #8DE284 #84BCE2
split-complementary
#D984E2 #BCE284 #84E2AA
monochromatic
#B12DBF #CA52D6 #D984E2 #E8B6EE #F7E6F9

Accessibility & contrast

On white

2.52
#D984E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#D984E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D984E2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D984E2#FFFFFF#000000##000000
##D984E21.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE5
Deuteranopia (green-blind)
#90A7DF
Tritanopia (blue-blind)
#DC8FA8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d984e2;
/* rgb */ color: rgb(217, 132, 226);
/* oklch */ color: oklch(73.5% 0.159 323.5);
Tailwind
colors: {
  custom: {
    50: '#e6aaeb',
    500: '#d984e2',
    950: '#000000',
  },
}
SCSS
$custom: #d984e2;
$custom-light: #e6aaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#d984e2",
  "rgb": {
    "r": 217,
    "g": 132,
    "b": 226
  },
  "hsl": {
    "h": 294.255,
    "s": 61.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73543,
    "c": 0.15889,
    "h": 323.5
  },
  "luminance": 0.36745
}

Semantic roles & 50–950 ramp

primary
#D984E2
secondary
#D6EED4
accent
#CA1C2D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D984E2

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

Preview Lab → · Contrast checker → · Palette generator →

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