#D873DC#D873DC

#D873DC is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.7% C 0.181 H 325.9°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#D873DC
RGBrgb(216, 115, 220)
HSLhsl(298, 60%, 66%)
HSVhsv(298, 48%, 86%)
CMYKcmyk(1.8%, 47.7%, 0%, 13.7%)
CIE-LABlab(63.37, 54.31, -36.90)
CIE-LCHlch(63.37, 65.66, 325.81°)
OKLaboklab(70.66% 0.1495 -0.1014)
OKLCHoklch(70.66% 0.181 325.9)
XYZxyz(47.3669, 32.0301, 71.3837)
Luminance0.3203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D873DC #77DC73
analogous
#A373DC #D873DC #DC73AB
triadic
#D873DC #DCD873 #73DCD8
tetradic
#D873DC #DCA373 #77DC73 #73ABDC
square
#D873DC #DCA373 #77DC73 #73ABDC
split-complementary
#D873DC #ABDC73 #73DCA3
monochromatic
#A52BAA #CA42D0 #D873DC #E6A4E8 #F3D5F4

Accessibility & contrast

On white

2.84
#D873DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#D873DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D873DC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D873DC#FFFFFF#000000##000000
##D873DC1.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891E0
Deuteranopia (green-blind)
#869ED9
Tritanopia (blue-blind)
#DD7F9D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d873dc;
/* rgb */ color: rgb(216, 115, 220);
/* oklch */ color: oklch(70.7% 0.181 325.9);
Tailwind
colors: {
  custom: {
    50: '#e69fe7',
    500: '#d873dc',
    950: '#000000',
  },
}
SCSS
$custom: #d873dc;
$custom-light: #e69fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#d873dc",
  "rgb": {
    "r": 216,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 297.714,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70663,
    "c": 0.18062,
    "h": 325.9
  },
  "luminance": 0.32028
}

Semantic roles & 50–950 ramp

primary
#D873DC
secondary
#C5E7C4
accent
#C81E24
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D873DC

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

Preview Lab → · Contrast checker → · Palette generator →

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