#D982EA#D982EA

#D982EA is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.6% C 0.170 H 320.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#D982EA
RGBrgb(217, 130, 234)
HSLhsl(290, 71%, 71%)
HSVhsv(290, 44%, 92%)
CMYKcmyk(7.3%, 44.4%, 0%, 8.2%)
CIE-LABlab(67.02, 49.64, -38.96)
CIE-LCHlch(67.02, 63.10, 321.87°)
OKLaboklab(73.6% 0.1321 -0.1074)
OKLCHoklch(73.6% 0.17 320.9)
XYZxyz(51.4474, 36.6594, 82.1919)
Luminance0.3666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D982EA #93EA82
analogous
#A582EA #D982EA #EA82C7
triadic
#D982EA #EAD982 #82EAD9
tetradic
#D982EA #EAA582 #93EA82 #82C7EA
square
#D982EA #EAA582 #93EA82 #82C7EA
split-complementary
#D982EA #C7EA82 #82EAA5
monochromatic
#B323CF #C94EE1 #D982EA #E9B6F3 #F7E5FB

Accessibility & contrast

On white

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

On black

8.33
#D982EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D982EA
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D982EA#FFFFFF#000000##000000
##D982EA1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEE
Deuteranopia (green-blind)
#8BA6E7
Tritanopia (blue-blind)
#DB8FAB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d982ea;
/* rgb */ color: rgb(217, 130, 234);
/* oklch */ color: oklch(73.6% 0.170 320.9);
Tailwind
colors: {
  custom: {
    50: '#e6a8f1',
    500: '#d982ea',
    950: '#000000',
  },
}
SCSS
$custom: #d982ea;
$custom-light: #e6a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d982ea",
  "rgb": {
    "r": 217,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 290.192,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73604,
    "c": 0.17022,
    "h": 320.9
  },
  "luminance": 0.36657
}

Semantic roles & 50–950 ramp

primary
#D982EA
secondary
#DBF1D6
accent
#D31232
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D982EA

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

Preview Lab → · Contrast checker → · Palette generator →

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