#D876DC#D876DC

#D876DC is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.1% C 0.176 H 325.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#D876DC
RGBrgb(216, 118, 220)
HSLhsl(298, 59%, 66%)
HSVhsv(298, 46%, 86%)
CMYKcmyk(1.8%, 46.4%, 0%, 13.7%)
CIE-LABlab(63.94, 52.82, -36.01)
CIE-LCHlch(63.94, 63.93, 325.71°)
OKLaboklab(71.09% 0.1453 -0.0988)
OKLCHoklch(71.09% 0.176 325.8)
XYZxyz(47.7146, 32.7255, 71.4996)
Luminance0.3272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D876DC #7ADC76
analogous
#A576DC #D876DC #DC76AD
triadic
#D876DC #DCD876 #76DCD8
tetradic
#D876DC #DCA576 #7ADC76 #76ADDC
square
#D876DC #DCA576 #7ADC76 #76ADDC
split-complementary
#D876DC #ADDC76 #76DCA5
monochromatic
#A72CAC #CA45D0 #D876DC #E6A7E8 #F4D7F5

Accessibility & contrast

On white

2.78
#D876DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#D876DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D876DC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D876DC#FFFFFF#000000##000000
##D876DC1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DF
Deuteranopia (green-blind)
#889FD9
Tritanopia (blue-blind)
#DD819F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d876dc;
/* rgb */ color: rgb(216, 118, 220);
/* oklch */ color: oklch(71.1% 0.176 325.8);
Tailwind
colors: {
  custom: {
    50: '#e6a0e7',
    500: '#d876dc',
    950: '#000000',
  },
}
SCSS
$custom: #d876dc;
$custom-light: #e6a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d876dc",
  "rgb": {
    "r": 216,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 297.647,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71086,
    "c": 0.17576,
    "h": 325.8
  },
  "luminance": 0.32723
}

Semantic roles & 50–950 ramp

primary
#D876DC
secondary
#C8E8C6
accent
#C71F25
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D876DC

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

Preview Lab → · Contrast checker → · Palette generator →

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