#D882EA#D882EA

#D882EA is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.5% C 0.170 H 320.5°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#D882EA
RGBrgb(216, 130, 234)
HSLhsl(290, 71%, 71%)
HSVhsv(290, 44%, 92%)
CMYKcmyk(7.7%, 44.4%, 0%, 8.2%)
CIE-LABlab(66.91, 49.35, -39.15)
CIE-LCHlch(66.91, 63.00, 321.57°)
OKLaboklab(73.49% 0.1309 -0.1079)
OKLCHoklch(73.49% 0.17 320.5)
XYZxyz(51.1510, 36.5066, 82.1780)
Luminance0.3650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D882EA #94EA82
analogous
#A482EA #D882EA #EA82C8
triadic
#D882EA #EAD882 #82EAD8
tetradic
#D882EA #EAA482 #94EA82 #82C8EA
square
#D882EA #EAA482 #94EA82 #82C8EA
split-complementary
#D882EA #C8EA82 #82EAA4
monochromatic
#B123CF #C84EE1 #D882EA #E8B6F3 #F7E5FB

Accessibility & contrast

On white

2.53
#D882EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#D882EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D882EA
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D882EA#FFFFFF#000000##000000
##D882EA1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEE
Deuteranopia (green-blind)
#8BA6E7
Tritanopia (blue-blind)
#DA8FAB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d882ea;
/* rgb */ color: rgb(216, 130, 234);
/* oklch */ color: oklch(73.5% 0.170 320.5);
Tailwind
colors: {
  custom: {
    50: '#e6a8f1',
    500: '#d882ea',
    950: '#000000',
  },
}
SCSS
$custom: #d882ea;
$custom-light: #e6a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d882ea",
  "rgb": {
    "r": 216,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 289.615,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73493,
    "c": 0.16968,
    "h": 320.5
  },
  "luminance": 0.36505
}

Semantic roles & 50–950 ramp

primary
#D882EA
secondary
#DBF1D6
accent
#D31234
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D882EA

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

Preview Lab → · Contrast checker → · Palette generator →

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