#D982ED#D982ED

#D982ED is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.7% C 0.173 H 319.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#D982ED
RGBrgb(217, 130, 237)
HSLhsl(289, 75%, 72%)
HSVhsv(289, 45%, 93%)
CMYKcmyk(8.4%, 45.1%, 0%, 7.1%)
CIE-LABlab(67.15, 50.22, -40.41)
CIE-LCHlch(67.15, 64.46, 321.17°)
OKLaboklab(73.75% 0.1326 -0.1115)
OKLCHoklch(73.75% 0.173 319.9)
XYZxyz(51.8821, 36.8333, 84.4809)
Luminance0.3683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D982ED #96ED82
analogous
#A482ED #D982ED #ED82CC
triadic
#D982ED #EDD982 #82EDD9
tetradic
#D982ED #EDA482 #96ED82 #82CCED
square
#D982ED #EDA482 #96ED82 #82CCED
split-complementary
#D982ED #CCED82 #82EDA4
monochromatic
#B41FD6 #C94DE5 #D982ED #E9B7F5 #F7E4FB

Accessibility & contrast

On white

2.51
#D982ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#D982ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D982ED
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D982ED#FFFFFF#000000##000000
##D982ED1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF1
Deuteranopia (green-blind)
#8AA7EA
Tritanopia (blue-blind)
#DA90AC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d982ed;
/* rgb */ color: rgb(217, 130, 237);
/* oklch */ color: oklch(73.7% 0.173 319.9);
Tailwind
colors: {
  custom: {
    50: '#e6a8f3',
    500: '#d982ed',
    950: '#000000',
  },
}
SCSS
$custom: #d982ed;
$custom-light: #e6a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d982ed",
  "rgb": {
    "r": 217,
    "g": 130,
    "b": 237
  },
  "hsl": {
    "h": 288.785,
    "s": 74.825,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73745,
    "c": 0.17326,
    "h": 319.9
  },
  "luminance": 0.36831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D982ED

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

Preview Lab → · Contrast checker → · Palette generator →

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