#D982EC#D982EC

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

Color values

HEX#D982EC
RGBrgb(217, 130, 236)
HSLhsl(289, 74%, 72%)
HSVhsv(289, 45%, 93%)
CMYKcmyk(8.1%, 44.9%, 0%, 7.5%)
CIE-LABlab(67.11, 50.02, -39.93)
CIE-LCHlch(67.11, 64.01, 321.40°)
OKLaboklab(73.7% 0.1324 -0.1101)
OKLCHoklch(73.7% 0.172 320.2)
XYZxyz(51.7364, 36.7750, 83.7136)
Luminance0.3677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D982EC #95EC82
analogous
#A482EC #D982EC #EC82CA
triadic
#D982EC #ECD982 #82ECD9
tetradic
#D982EC #ECA482 #95EC82 #82CAEC
square
#D982EC #ECA482 #95EC82 #82CAEC
split-complementary
#D982EC #CAEC82 #82ECA4
monochromatic
#B320D3 #C94DE4 #D982EC #E9B7F4 #F7E4FB

Accessibility & contrast

On white

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

On black

8.35
#D982EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D982EC
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D982EC#FFFFFF#000000##000000
##D982EC1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d982ec;
/* rgb */ color: rgb(217, 130, 236);
/* oklch */ color: oklch(73.7% 0.172 320.2);
Tailwind
colors: {
  custom: {
    50: '#e6a8f2',
    500: '#d982ec',
    950: '#000000',
  },
}
SCSS
$custom: #d982ec;
$custom-light: #e6a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d982ec",
  "rgb": {
    "r": 217,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 289.245,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73698,
    "c": 0.17224,
    "h": 320.2
  },
  "luminance": 0.36773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D982EC

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

Preview Lab → · Contrast checker → · Palette generator →

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