#D981EA#D981EA

#D981EA is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.5% C 0.172 H 321.0°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#D981EA
RGBrgb(217, 129, 234)
HSLhsl(290, 71%, 71%)
HSVhsv(290, 45%, 92%)
CMYKcmyk(7.3%, 44.9%, 0%, 8.2%)
CIE-LABlab(66.82, 50.15, -39.28)
CIE-LCHlch(66.82, 63.70, 321.93°)
OKLaboklab(73.46% 0.1335 -0.1083)
OKLCHoklch(73.46% 0.172 321)
XYZxyz(51.3151, 36.3947, 82.1478)
Luminance0.3639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D981EA #92EA81
analogous
#A481EA #D981EA #EA81C6
triadic
#D981EA #EAD981 #81EAD9
tetradic
#D981EA #EAA481 #92EA81 #81C6EA
square
#D981EA #EAA481 #92EA81 #81C6EA
split-complementary
#D981EA #C6EA81 #81EAA4
monochromatic
#B222CE #C94DE1 #D981EA #E9B5F3 #F7E5FB

Accessibility & contrast

On white

2.54
#D981EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#D981EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D981EA
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D981EA#FFFFFF#000000##000000
##D981EA1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CEE
Deuteranopia (green-blind)
#8BA6E7
Tritanopia (blue-blind)
#DB8EAB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d981ea;
/* rgb */ color: rgb(217, 129, 234);
/* oklch */ color: oklch(73.5% 0.172 321.0);
Tailwind
colors: {
  custom: {
    50: '#e6a8f1',
    500: '#d981ea',
    950: '#000000',
  },
}
SCSS
$custom: #d981ea;
$custom-light: #e6a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d981ea",
  "rgb": {
    "r": 217,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 290.286,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73455,
    "c": 0.17186,
    "h": 321
  },
  "luminance": 0.36393
}

Semantic roles & 50–950 ramp

primary
#D981EA
secondary
#DAF1D6
accent
#D31231
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D981EA

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

Preview Lab → · Contrast checker → · Palette generator →

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