#D873CA#D873CA

#D873CA is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.9% C 0.165 H 332.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#D873CA
RGBrgb(216, 115, 202)
HSLhsl(308, 56%, 65%)
HSVhsv(308, 47%, 85%)
CMYKcmyk(0%, 46.8%, 6.5%, 15.3%)
CIE-LABlab(62.62, 51.16, -27.97)
CIE-LCHlch(62.62, 58.30, 331.34°)
OKLaboklab(69.86% 0.1461 -0.0759)
OKLCHoklch(69.86% 0.165 332.6)
XYZxyz(45.1101, 31.1274, 59.4978)
Luminance0.3113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D873CA #73D881
analogous
#B473D8 #D873CA #D87397
triadic
#D873CA #CAD873 #73CAD8
tetradic
#D873CA #D8B473 #73D881 #7397D8
square
#D873CA #D8B473 #73D881 #7397D8
split-complementary
#D873CA #97D873 #73D8B4
monochromatic
#A32D93 #CB43B8 #D873CA #E5A3DC #F3D3EE

Accessibility & contrast

On white

2.91
#D873CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#D873CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D873CA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D873CA#FFFFFF#000000##000000
##D873CA1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#718ECD
Deuteranopia (green-blind)
#8D9DC7
Tritanopia (blue-blind)
#E07A95
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d873ca;
/* rgb */ color: rgb(216, 115, 202);
/* oklch */ color: oklch(69.9% 0.165 332.6);
Tailwind
colors: {
  custom: {
    50: '#e69eda',
    500: '#d873ca',
    950: '#000000',
  },
}
SCSS
$custom: #d873ca;
$custom-light: #e69eda;
$custom-dark: #000000;
JSON
{
  "hex": "#d873ca",
  "rgb": {
    "r": 216,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 308.317,
    "s": 56.425,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69857,
    "c": 0.16468,
    "h": 332.6
  },
  "luminance": 0.31125
}

Semantic roles & 50–950 ramp

primary
#D873CA
secondary
#C2E5C7
accent
#C43822
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160F15
muted
#847E83

Preview Lab

Preview with #D873CA

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

Preview Lab → · Contrast checker → · Palette generator →

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