#D982CC#D982CC

#D982CC is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.3% C 0.142 H 332.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#D982CC
RGBrgb(217, 130, 204)
HSLhsl(309, 53%, 68%)
HSVhsv(309, 40%, 85%)
CMYKcmyk(0%, 40.1%, 6%, 14.9%)
CIE-LABlab(65.81, 44.15, -24.17)
CIE-LCHlch(65.81, 50.33, 331.30°)
OKLaboklab(72.3% 0.1258 -0.0653)
OKLCHoklch(72.3% 0.142 332.6)
XYZxyz(47.4966, 35.0791, 61.3842)
Luminance0.3508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D982CC #82D98F
analogous
#BB82D9 #D982CC #D982A0
triadic
#D982CC #CCD982 #82CCD9
tetradic
#D982CC #D9BB82 #82D98F #82A0D9
square
#D982CC #D9BB82 #82D98F #82A0D9
split-complementary
#D982CC #A0D982 #82D9BB
monochromatic
#AC349A #CB53B9 #D982CC #E7B1DF #F6E0F2

Accessibility & contrast

On white

2.62
#D982CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#D982CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D982CC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D982CC#FFFFFF#000000##000000
##D982CC1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098CF
Deuteranopia (green-blind)
#97A4C9
Tritanopia (blue-blind)
#E0879E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d982cc;
/* rgb */ color: rgb(217, 130, 204);
/* oklch */ color: oklch(72.3% 0.142 332.6);
Tailwind
colors: {
  custom: {
    50: '#e6a8db',
    500: '#d982cc',
    950: '#000000',
  },
}
SCSS
$custom: #d982cc;
$custom-light: #e6a8db;
$custom-dark: #000000;
JSON
{
  "hex": "#d982cc",
  "rgb": {
    "r": 217,
    "g": 130,
    "b": 204
  },
  "hsl": {
    "h": 308.966,
    "s": 53.374,
    "l": 68.039
  },
  "oklch": {
    "l": 0.723,
    "c": 0.14172,
    "h": 332.6
  },
  "luminance": 0.35077
}

Semantic roles & 50–950 ramp

primary
#D982CC
secondary
#CEE9D2
accent
#C13C25
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D982CC

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

Preview Lab → · Contrast checker → · Palette generator →

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