#D982DF#D982DF

#D982DF is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.1% C 0.159 H 324.7°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#D982DF
RGBrgb(217, 130, 223)
HSLhsl(296, 59%, 69%)
HSVhsv(296, 42%, 87%)
CMYKcmyk(2.7%, 41.7%, 0%, 12.5%)
CIE-LABlab(66.56, 47.56, -33.60)
CIE-LCHlch(66.56, 58.23, 324.76°)
OKLaboklab(73.1% 0.1301 -0.092)
OKLCHoklch(73.1% 0.159 324.7)
XYZxyz(49.9160, 36.0468, 74.1262)
Luminance0.3604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D982DF #88DF82
analogous
#AB82DF #D982DF #DF82B7
triadic
#D982DF #DFD982 #82DFD9
tetradic
#D982DF #DFAB82 #88DF82 #82B7DF
square
#D982DF #DFAB82 #88DF82 #82B7DF
split-complementary
#D982DF #B7DF82 #82DFAB
monochromatic
#AF2FB8 #CA51D3 #D982DF #E8B3EB #F7E3F8

Accessibility & contrast

On white

2.56
#D982DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#D982DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D982DF
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D982DF#FFFFFF#000000##000000
##D982DF1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#789BE2
Deuteranopia (green-blind)
#90A6DC
Tritanopia (blue-blind)
#DD8CA6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d982df;
/* rgb */ color: rgb(217, 130, 223);
/* oklch */ color: oklch(73.1% 0.159 324.7);
Tailwind
colors: {
  custom: {
    50: '#e6a8e9',
    500: '#d982df',
    950: '#000000',
  },
}
SCSS
$custom: #d982df;
$custom-light: #e6a8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d982df",
  "rgb": {
    "r": 217,
    "g": 130,
    "b": 223
  },
  "hsl": {
    "h": 296.129,
    "s": 59.236,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73104,
    "c": 0.15932,
    "h": 324.7
  },
  "luminance": 0.36045
}

Semantic roles & 50–950 ramp

primary
#D982DF
secondary
#D3ECD1
accent
#C71F29
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D982DF

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

Preview Lab → · Contrast checker → · Palette generator →

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