#D982EB#D982EB

#D982EB is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.7% C 0.171 H 320.6°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#D982EB
RGBrgb(217, 130, 235)
HSLhsl(290, 72%, 72%)
HSVhsv(290, 45%, 92%)
CMYKcmyk(7.7%, 44.7%, 0%, 7.8%)
CIE-LABlab(67.06, 49.83, -39.45)
CIE-LCHlch(67.06, 63.55, 321.63°)
OKLaboklab(73.65% 0.1323 -0.1088)
OKLCHoklch(73.65% 0.171 320.6)
XYZxyz(51.5915, 36.7171, 82.9506)
Luminance0.3671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D982EB #94EB82
analogous
#A582EB #D982EB #EB82C9
triadic
#D982EB #EBD982 #82EBD9
tetradic
#D982EB #EBA582 #94EB82 #82C9EB
square
#D982EB #EBA582 #94EB82 #82C9EB
split-complementary
#D982EB #C9EB82 #82EBA5
monochromatic
#B321D1 #C94DE3 #D982EB #E9B7F3 #F7E5FB

Accessibility & contrast

On white

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

On black

8.34
#D982EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D982EB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D982EB#FFFFFF#000000##000000
##D982EB1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEF
Deuteranopia (green-blind)
#8BA6E8
Tritanopia (blue-blind)
#DB8FAC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d982eb;
/* rgb */ color: rgb(217, 130, 235);
/* oklch */ color: oklch(73.7% 0.171 320.6);
Tailwind
colors: {
  custom: {
    50: '#e6a8f2',
    500: '#d982eb',
    950: '#000000',
  },
}
SCSS
$custom: #d982eb;
$custom-light: #e6a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d982eb",
  "rgb": {
    "r": 217,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 289.714,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73651,
    "c": 0.17123,
    "h": 320.6
  },
  "luminance": 0.36715
}

Semantic roles & 50–950 ramp

primary
#D982EB
secondary
#DCF2D7
accent
#D41133
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D982EB

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

Preview Lab → · Contrast checker → · Palette generator →

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