#D882EF#D882EF

#D882EF is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.7% C 0.175 H 318.9°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#D882EF
RGBrgb(216, 130, 239)
HSLhsl(287, 77%, 72%)
HSVhsv(287, 46%, 94%)
CMYKcmyk(9.6%, 45.6%, 0%, 6.3%)
CIE-LABlab(67.13, 50.32, -41.57)
CIE-LCHlch(67.13, 65.27, 320.45°)
OKLaboklab(73.73% 0.1318 -0.1149)
OKLCHoklch(73.73% 0.175 318.9)
XYZxyz(51.8795, 36.7980, 86.0145)
Luminance0.3680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D882EF #99EF82
analogous
#A182EF #D882EF #EF82D0
triadic
#D882EF #EFD882 #82EFD8
tetradic
#D882EF #EFA182 #99EF82 #82D0EF
square
#D882EF #EFA182 #99EF82 #82D0EF
split-complementary
#D882EF #D0EF82 #82EFA1
monochromatic
#B21CDB #C74CE8 #D882EF #E9B8F6 #F7E4FC

Accessibility & contrast

On white

2.51
#D882EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#D882EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D882EF
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D882EF#FFFFFF#000000##000000
##D882EF1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#D991AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d882ef;
/* rgb */ color: rgb(216, 130, 239);
/* oklch */ color: oklch(73.7% 0.175 318.9);
Tailwind
colors: {
  custom: {
    50: '#e6a8f4',
    500: '#d882ef',
    950: '#000000',
  },
}
SCSS
$custom: #d882ef;
$custom-light: #e6a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d882ef",
  "rgb": {
    "r": 216,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 287.339,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73729,
    "c": 0.17479,
    "h": 318.9
  },
  "luminance": 0.36796
}

Semantic roles & 50–950 ramp

primary
#D882EF
secondary
#DEF3D8
accent
#DA0C37
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D882EF

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

Preview Lab → · Contrast checker → · Palette generator →

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