#D873CF#D873CF

#D873CF is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.1% C 0.169 H 330.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#D873CF
RGBrgb(216, 115, 207)
HSLhsl(305, 56%, 65%)
HSVhsv(305, 47%, 85%)
CMYKcmyk(0%, 46.8%, 4.2%, 15.3%)
CIE-LABlab(62.82, 52.01, -30.47)
CIE-LCHlch(62.82, 60.28, 329.64°)
OKLaboklab(70.07% 0.1472 -0.083)
OKLCHoklch(70.07% 0.169 330.6)
XYZxyz(45.7117, 31.3680, 62.6663)
Luminance0.3136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D873CF #73D87C
analogous
#AF73D8 #D873CF #D8739C
triadic
#D873CF #CFD873 #73CFD8
tetradic
#D873CF #D8AF73 #73D87C #739CD8
square
#D873CF #D8AF73 #73D87C #739CD8
split-complementary
#D873CF #9CD873 #73D8AF
monochromatic
#A32D99 #CB43BF #D873CF #E5A3DF #F3D3F0

Accessibility & contrast

On white

2.89
#D873CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#D873CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D873CF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D873CF#FFFFFF#000000##000000
##D873CF1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8FD2
Deuteranopia (green-blind)
#8B9DCC
Tritanopia (blue-blind)
#DF7B97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d873cf;
/* rgb */ color: rgb(216, 115, 207);
/* oklch */ color: oklch(70.1% 0.169 330.6);
Tailwind
colors: {
  custom: {
    50: '#e69ede',
    500: '#d873cf',
    950: '#000000',
  },
}
SCSS
$custom: #d873cf;
$custom-light: #e69ede;
$custom-dark: #000000;
JSON
{
  "hex": "#d873cf",
  "rgb": {
    "r": 216,
    "g": 115,
    "b": 207
  },
  "hsl": {
    "h": 305.347,
    "s": 56.425,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70073,
    "c": 0.16897,
    "h": 330.6
  },
  "luminance": 0.31365
}

Semantic roles & 50–950 ramp

primary
#D873CF
secondary
#C2E5C5
accent
#C43022
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D873CF

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

Preview Lab → · Contrast checker → · Palette generator →

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