#D882EC#D882EC

#D882EC is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.6% C 0.172 H 319.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#D882EC
RGBrgb(216, 130, 236)
HSLhsl(289, 74%, 72%)
HSVhsv(289, 45%, 93%)
CMYKcmyk(8.5%, 44.9%, 0%, 7.5%)
CIE-LABlab(66.99, 49.74, -40.12)
CIE-LCHlch(66.99, 63.90, 321.11°)
OKLaboklab(73.59% 0.1313 -0.1107)
OKLCHoklch(73.59% 0.172 319.9)
XYZxyz(51.4400, 36.6222, 83.6997)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D882EC #96EC82
analogous
#A382EC #D882EC #EC82CB
triadic
#D882EC #ECD882 #82ECD8
tetradic
#D882EC #ECA382 #96EC82 #82CBEC
square
#D882EC #ECA382 #96EC82 #82CBEC
split-complementary
#D882EC #CBEC82 #82ECA3
monochromatic
#B220D3 #C74DE4 #D882EC #E9B7F4 #F7E4FB

Accessibility & contrast

On white

2.52
#D882EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#D882EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D882EC
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D882EC#FFFFFF#000000##000000
##D882EC1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d882ec;
/* rgb */ color: rgb(216, 130, 236);
/* oklch */ color: oklch(73.6% 0.172 319.9);
Tailwind
colors: {
  custom: {
    50: '#e6a8f2',
    500: '#d882ec',
    950: '#000000',
  },
}
SCSS
$custom: #d882ec;
$custom-light: #e6a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d882ec",
  "rgb": {
    "r": 216,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 288.679,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73587,
    "c": 0.17172,
    "h": 319.9
  },
  "luminance": 0.3662
}

Semantic roles & 50–950 ramp

primary
#D882EC
secondary
#DDF2D7
accent
#D61035
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D882EC

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

Preview Lab → · Contrast checker → · Palette generator →

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