#D980EC#D980EC

#D980EC is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.4% C 0.176 H 320.4°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#D980EC
RGBrgb(217, 128, 236)
HSLhsl(289, 74%, 71%)
HSVhsv(289, 46%, 93%)
CMYKcmyk(8.1%, 45.8%, 0%, 7.5%)
CIE-LABlab(66.71, 51.05, -40.56)
CIE-LCHlch(66.71, 65.20, 321.53°)
OKLaboklab(73.4% 0.1352 -0.1119)
OKLCHoklch(73.4% 0.176 320.4)
XYZxyz(51.4729, 36.2481, 83.6258)
Luminance0.3625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D980EC #93EC80
analogous
#A380EC #D980EC #EC80C9
triadic
#D980EC #ECD980 #80ECD9
tetradic
#D980EC #ECA380 #93EC80 #80C9EC
square
#D980EC #ECA380 #93EC80 #80C9EC
split-complementary
#D980EC #C9EC80 #80ECA3
monochromatic
#B31FD2 #C94BE4 #D980EC #E9B5F4 #F7E4FB

Accessibility & contrast

On white

2.55
#D980EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#D980EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D980EC
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D980EC#FFFFFF#000000##000000
##D980EC1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF0
Deuteranopia (green-blind)
#89A6E9
Tritanopia (blue-blind)
#DA8EAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d980ec;
/* rgb */ color: rgb(217, 128, 236);
/* oklch */ color: oklch(73.4% 0.176 320.4);
Tailwind
colors: {
  custom: {
    50: '#e7a7f2',
    500: '#d980ec',
    950: '#000000',
  },
}
SCSS
$custom: #d980ec;
$custom-light: #e7a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d980ec",
  "rgb": {
    "r": 217,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 289.444,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73401,
    "c": 0.17551,
    "h": 320.4
  },
  "luminance": 0.36246
}

Semantic roles & 50–950 ramp

primary
#D980EC
secondary
#DBF2D6
accent
#D60F32
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D980EC

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

Preview Lab → · Contrast checker → · Palette generator →

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