#D982EF#D982EF

#D982EF is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.8% C 0.175 H 319.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#D982EF
RGBrgb(217, 130, 239)
HSLhsl(288, 77%, 72%)
HSVhsv(288, 46%, 94%)
CMYKcmyk(9.2%, 45.6%, 0%, 6.3%)
CIE-LABlab(67.24, 50.61, -41.38)
CIE-LCHlch(67.24, 65.37, 320.73°)
OKLaboklab(73.84% 0.1329 -0.1143)
OKLCHoklch(73.84% 0.175 319.3)
XYZxyz(52.1759, 36.9508, 86.0284)
Luminance0.3695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D982EF #98EF82
analogous
#A382EF #D982EF #EF82CE
triadic
#D982EF #EFD982 #82EFD9
tetradic
#D982EF #EFA382 #98EF82 #82CEEF
square
#D982EF #EFA382 #98EF82 #82CEEF
split-complementary
#D982EF #CEEF82 #82EFA3
monochromatic
#B41CDB #C94CE8 #D982EF #E9B8F6 #F7E4FC

Accessibility & contrast

On white

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

On black

8.39
#D982EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D982EF
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D982EF#FFFFFF#000000##000000
##D982EF1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#DA90AD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d982ef;
/* rgb */ color: rgb(217, 130, 239);
/* oklch */ color: oklch(73.8% 0.175 319.3);
Tailwind
colors: {
  custom: {
    50: '#e7a8f4',
    500: '#d982ef',
    950: '#000000',
  },
}
SCSS
$custom: #d982ef;
$custom-light: #e7a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d982ef",
  "rgb": {
    "r": 217,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 287.89,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7384,
    "c": 0.1753,
    "h": 319.3
  },
  "luminance": 0.36949
}

Semantic roles & 50–950 ramp

primary
#D982EF
secondary
#DDF3D8
accent
#DA0C35
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D982EF

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

Preview Lab → · Contrast checker → · Palette generator →

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