#D882CC#D882CC

#D882CC is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.2% C 0.141 H 332.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#D882CC
RGBrgb(216, 130, 204)
HSLhsl(308, 52%, 68%)
HSVhsv(308, 40%, 85%)
CMYKcmyk(0%, 39.8%, 5.6%, 15.3%)
CIE-LABlab(65.69, 43.83, -24.36)
CIE-LCHlch(65.69, 50.15, 330.94°)
OKLaboklab(72.19% 0.1246 -0.0659)
OKLCHoklch(72.19% 0.141 332.1)
XYZxyz(47.2002, 34.9263, 61.3703)
Luminance0.3492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D882CC #82D88E
analogous
#B982D8 #D882CC #D882A1
triadic
#D882CC #CCD882 #82CCD8
tetradic
#D882CC #D8B982 #82D88E #82A1D8
square
#D882CC #D8B982 #82D88E #82A1D8
split-complementary
#D882CC #A1D882 #82D8B9
monochromatic
#AA359A #C953B9 #D882CC #E7B1DF #F5DFF2

Accessibility & contrast

On white

2.63
#D882CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#D882CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D882CC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D882CC#FFFFFF#000000##000000
##D882CC1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098CF
Deuteranopia (green-blind)
#96A4C9
Tritanopia (blue-blind)
#DF879E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d882cc;
/* rgb */ color: rgb(216, 130, 204);
/* oklch */ color: oklch(72.2% 0.141 332.1);
Tailwind
colors: {
  custom: {
    50: '#e5a8db',
    500: '#d882cc',
    950: '#000000',
  },
}
SCSS
$custom: #d882cc;
$custom-light: #e5a8db;
$custom-dark: #000000;
JSON
{
  "hex": "#d882cc",
  "rgb": {
    "r": 216,
    "g": 130,
    "b": 204
  },
  "hsl": {
    "h": 308.372,
    "s": 52.439,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72185,
    "c": 0.14098,
    "h": 332.1
  },
  "luminance": 0.34924
}

Semantic roles & 50–950 ramp

primary
#D882CC
secondary
#CEE8D1
accent
#C03B26
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D882CC

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

Preview Lab → · Contrast checker → · Palette generator →

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