#D882EB#D882EB

#D882EB is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.5% C 0.171 H 320.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#D882EB
RGBrgb(216, 130, 235)
HSLhsl(289, 72%, 72%)
HSVhsv(289, 45%, 92%)
CMYKcmyk(8.1%, 44.7%, 0%, 7.8%)
CIE-LABlab(66.95, 49.54, -39.64)
CIE-LCHlch(66.95, 63.45, 321.34°)
OKLaboklab(73.54% 0.1311 -0.1093)
OKLCHoklch(73.54% 0.171 320.2)
XYZxyz(51.2951, 36.5642, 82.9367)
Luminance0.3656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D882EB #95EB82
analogous
#A482EB #D882EB #EB82CA
triadic
#D882EB #EBD882 #82EBD8
tetradic
#D882EB #EBA482 #95EB82 #82CAEB
square
#D882EB #EBA482 #95EB82 #82CAEB
split-complementary
#D882EB #CAEB82 #82EBA4
monochromatic
#B121D1 #C84DE3 #D882EB #E8B7F3 #F7E5FB

Accessibility & contrast

On white

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

On black

8.31
#D882EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D882EB
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D882EB#FFFFFF#000000##000000
##D882EB1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DEF
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#D98FAC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d882eb;
/* rgb */ color: rgb(216, 130, 235);
/* oklch */ color: oklch(73.5% 0.171 320.2);
Tailwind
colors: {
  custom: {
    50: '#e6a8f2',
    500: '#d882eb',
    950: '#000000',
  },
}
SCSS
$custom: #d882eb;
$custom-light: #e6a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d882eb",
  "rgb": {
    "r": 216,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 289.143,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7354,
    "c": 0.1707,
    "h": 320.2
  },
  "luminance": 0.36562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D882EB

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

Preview Lab → · Contrast checker → · Palette generator →

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