#D873CD#D873CD

#D873CD is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.0% C 0.167 H 331.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#D873CD
RGBrgb(216, 115, 205)
HSLhsl(307, 56%, 65%)
HSVhsv(307, 47%, 85%)
CMYKcmyk(0%, 46.8%, 5.1%, 15.3%)
CIE-LABlab(62.74, 51.67, -29.47)
CIE-LCHlch(62.74, 59.48, 330.30°)
OKLaboklab(69.99% 0.1468 -0.0802)
OKLCHoklch(69.99% 0.167 331.4)
XYZxyz(45.4687, 31.2708, 61.3867)
Luminance0.3127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D873CD #73D87E
analogous
#B173D8 #D873CD #D8739A
triadic
#D873CD #CDD873 #73CDD8
tetradic
#D873CD #D8B173 #73D87E #739AD8
square
#D873CD #D8B173 #73D87E #739AD8
split-complementary
#D873CD #9AD873 #73D8B1
monochromatic
#A32D96 #CB43BC #D873CD #E5A3DE #F3D3EF

Accessibility & contrast

On white

2.90
#D873CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#D873CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D873CD
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D873CD#FFFFFF#000000##000000
##D873CD1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8FD0
Deuteranopia (green-blind)
#8C9DCA
Tritanopia (blue-blind)
#DF7A97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d873cd;
/* rgb */ color: rgb(216, 115, 205);
/* oklch */ color: oklch(70.0% 0.167 331.4);
Tailwind
colors: {
  custom: {
    50: '#e69edc',
    500: '#d873cd',
    950: '#000000',
  },
}
SCSS
$custom: #d873cd;
$custom-light: #e69edc;
$custom-dark: #000000;
JSON
{
  "hex": "#d873cd",
  "rgb": {
    "r": 216,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 306.535,
    "s": 56.425,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69986,
    "c": 0.16724,
    "h": 331.4
  },
  "luminance": 0.31268
}

Semantic roles & 50–950 ramp

primary
#D873CD
secondary
#C2E5C6
accent
#C43322
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D873CD

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

Preview Lab → · Contrast checker → · Palette generator →

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