#D873DD#D873DD

#D873DD is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.7% C 0.182 H 325.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#D873DD
RGBrgb(216, 115, 221)
HSLhsl(297, 61%, 66%)
HSVhsv(297, 48%, 87%)
CMYKcmyk(2.3%, 48%, 0%, 13.3%)
CIE-LABlab(63.41, 54.49, -37.39)
CIE-LCHlch(63.41, 66.09, 325.54°)
OKLaboklab(70.71% 0.1497 -0.1028)
OKLCHoklch(70.71% 0.182 325.5)
XYZxyz(47.4997, 32.0832, 72.0833)
Luminance0.3208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D873DD #78DD73
analogous
#A373DD #D873DD #DD73AD
triadic
#D873DD #DDD873 #73DDD8
tetradic
#D873DD #DDA373 #78DD73 #73ADDD
square
#D873DD #DDA373 #78DD73 #73ADDD
split-complementary
#D873DD #ADDD73 #73DDA3
monochromatic
#A62AAC #CA42D1 #D873DD #E6A4E9 #F3D5F5

Accessibility & contrast

On white

2.83
#D873DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#D873DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D873DD
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D873DD#FFFFFF#000000##000000
##D873DD1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791E1
Deuteranopia (green-blind)
#859EDA
Tritanopia (blue-blind)
#DD7F9E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d873dd;
/* rgb */ color: rgb(216, 115, 221);
/* oklch */ color: oklch(70.7% 0.182 325.5);
Tailwind
colors: {
  custom: {
    50: '#e69fe8',
    500: '#d873dd',
    950: '#000000',
  },
}
SCSS
$custom: #d873dd;
$custom-light: #e69fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#d873dd",
  "rgb": {
    "r": 216,
    "g": 115,
    "b": 221
  },
  "hsl": {
    "h": 297.17,
    "s": 60.92,
    "l": 65.882
  },
  "oklch": {
    "l": 0.7071,
    "c": 0.18154,
    "h": 325.5
  },
  "luminance": 0.32081
}

Semantic roles & 50–950 ramp

primary
#D873DD
secondary
#C6E7C4
accent
#C91D25
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D873DD

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

Preview Lab → · Contrast checker → · Palette generator →

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