#D882DC#D882DC

#D882DC is a light, vivid purple. Relative luminance 0.357; OKLCH L 72.9% C 0.156 H 325.4°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#D882DC
RGBrgb(216, 130, 220)
HSLhsl(297, 56%, 69%)
HSVhsv(297, 41%, 86%)
CMYKcmyk(1.8%, 40.9%, 0%, 13.7%)
CIE-LABlab(66.32, 46.70, -32.32)
CIE-LCHlch(66.32, 56.80, 325.32°)
OKLaboklab(72.86% 0.1283 -0.0884)
OKLCHoklch(72.86% 0.156 325.4)
XYZxyz(49.2187, 35.7336, 72.0010)
Luminance0.3573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D882DC #86DC82
analogous
#AB82DC #D882DC #DC82B3
triadic
#D882DC #DCD882 #82DCD8
tetradic
#D882DC #DCAB82 #86DC82 #82B3DC
square
#D882DC #DCAB82 #86DC82 #82B3DC
split-complementary
#D882DC #B3DC82 #82DCAB
monochromatic
#AC32B2 #C952CF #D882DC #E7B2E9 #F6E2F7

Accessibility & contrast

On white

2.58
#D882DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#D882DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D882DC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D882DC#FFFFFF#000000##000000
##D882DC1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9ADF
Deuteranopia (green-blind)
#91A5D9
Tritanopia (blue-blind)
#DC8BA5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d882dc;
/* rgb */ color: rgb(216, 130, 220);
/* oklch */ color: oklch(72.9% 0.156 325.4);
Tailwind
colors: {
  custom: {
    50: '#e5a8e7',
    500: '#d882dc',
    950: '#000000',
  },
}
SCSS
$custom: #d882dc;
$custom-light: #e5a8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d882dc",
  "rgb": {
    "r": 216,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 297.333,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72859,
    "c": 0.1558,
    "h": 325.4
  },
  "luminance": 0.35732
}

Semantic roles & 50–950 ramp

primary
#D882DC
secondary
#D1EACF
accent
#C42229
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D882DC

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

Preview Lab → · Contrast checker → · Palette generator →

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