#D873EE#D873EE

#D873EE is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.5% C 0.198 H 320.2°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D873EE
RGBrgb(216, 115, 238)
HSLhsl(289, 78%, 69%)
HSVhsv(289, 52%, 93%)
CMYKcmyk(9.2%, 51.7%, 0%, 6.7%)
CIE-LABlab(64.19, 57.66, -45.62)
CIE-LCHlch(64.19, 73.53, 321.65°)
OKLaboklab(71.54% 0.1519 -0.1265)
OKLCHoklch(71.54% 0.198 320.2)
XYZxyz(49.8804, 33.0355, 84.6214)
Luminance0.3303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D873EE #89EE73
analogous
#9B73EE #D873EE #EE73C7
triadic
#D873EE #EED873 #73EED8
tetradic
#D873EE #EE9B73 #89EE73 #73C7EE
square
#D873EE #EE9B73 #89EE73 #73C7EE
split-complementary
#D873EE #C7EE73 #73EE9B
monochromatic
#AD19CE #C93CE7 #D873EE #E7AAF5 #F6E0FB

Accessibility & contrast

On white

2.76
#D873EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D873EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D873EE
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D873EE#FFFFFF#000000##000000
##D873EE1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F2
Deuteranopia (green-blind)
#7D9FEB
Tritanopia (blue-blind)
#D984A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d873ee;
/* rgb */ color: rgb(216, 115, 238);
/* oklch */ color: oklch(71.5% 0.198 320.2);
Tailwind
colors: {
  custom: {
    50: '#e69ff4',
    500: '#d873ee',
    950: '#000000',
  },
}
SCSS
$custom: #d873ee;
$custom-light: #e69ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d873ee",
  "rgb": {
    "r": 216,
    "g": 115,
    "b": 238
  },
  "hsl": {
    "h": 289.268,
    "s": 78.344,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71539,
    "c": 0.19767,
    "h": 320.2
  },
  "luminance": 0.33033
}

Semantic roles & 50–950 ramp

primary
#D873EE
secondary
#D3F0CD
accent
#DB0B30
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D873EE

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

Preview Lab → · Contrast checker → · Palette generator →

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