#D882DF#D882DF

#D882DF is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.0% C 0.159 H 324.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#D882DF
RGBrgb(216, 130, 223)
HSLhsl(295, 59%, 69%)
HSVhsv(295, 42%, 87%)
CMYKcmyk(3.1%, 41.7%, 0%, 12.5%)
CIE-LABlab(66.44, 47.26, -33.79)
CIE-LCHlch(66.44, 58.10, 324.43°)
OKLaboklab(72.99% 0.1289 -0.0926)
OKLCHoklch(72.99% 0.159 324.3)
XYZxyz(49.6195, 35.8940, 74.1123)
Luminance0.3589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D882DF #89DF82
analogous
#AA82DF #D882DF #DF82B8
triadic
#D882DF #DFD882 #82DFD8
tetradic
#D882DF #DFAA82 #89DF82 #82B8DF
square
#D882DF #DFAA82 #89DF82 #82B8DF
split-complementary
#D882DF #B8DF82 #82DFAA
monochromatic
#AD2FB8 #C951D3 #D882DF #E7B3EB #F6E3F8

Accessibility & contrast

On white

2.57
#D882DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#D882DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D882DF
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D882DF#FFFFFF#000000##000000
##D882DF1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#789BE2
Deuteranopia (green-blind)
#8FA5DC
Tritanopia (blue-blind)
#DC8CA6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d882df;
/* rgb */ color: rgb(216, 130, 223);
/* oklch */ color: oklch(73.0% 0.159 324.3);
Tailwind
colors: {
  custom: {
    50: '#e6a8e9',
    500: '#d882df',
    950: '#000000',
  },
}
SCSS
$custom: #d882df;
$custom-light: #e6a8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d882df",
  "rgb": {
    "r": 216,
    "g": 130,
    "b": 223
  },
  "hsl": {
    "h": 295.484,
    "s": 59.236,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72992,
    "c": 0.15872,
    "h": 324.3
  },
  "luminance": 0.35892
}

Semantic roles & 50–950 ramp

primary
#D882DF
secondary
#D3ECD1
accent
#C71F2B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D882DF

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

Preview Lab → · Contrast checker → · Palette generator →

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