#D873FD#D873FD

#D873FD is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.3% C 0.212 H 316.2°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#D873FD
RGBrgb(216, 115, 253)
HSLhsl(284, 97%, 72%)
HSVhsv(284, 55%, 99%)
CMYKcmyk(14.6%, 54.5%, 0%, 0.8%)
CIE-LABlab(64.93, 60.58, -52.73)
CIE-LCHlch(64.93, 80.31, 318.97°)
OKLaboklab(72.32% 0.1532 -0.1471)
OKLCHoklch(72.32% 0.212 316.2)
XYZxyz(52.1766, 33.9540, 96.7147)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D873FD #98FD73
analogous
#9373FD #D873FD #FD73DD
triadic
#D873FD #FDD873 #73FDD8
tetradic
#D873FD #FD9373 #98FD73 #73DDFD
square
#D873FD #FD9373 #98FD73 #73DDFD
split-complementary
#D873FD #DDFD73 #73FD93
monochromatic
#B203F2 #C737FC #D873FD #E9AFFE #F7E1FF

Accessibility & contrast

On white

2.70
#D873FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#D873FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D873FD
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D873FD#FFFFFF#000000##000000
##D873FD1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#74A1F9
Tritanopia (blue-blind)
#D689AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d873fd;
/* rgb */ color: rgb(216, 115, 253);
/* oklch */ color: oklch(72.3% 0.212 316.2);
Tailwind
colors: {
  custom: {
    50: '#e79ffe',
    500: '#d873fd',
    950: '#000000',
  },
}
SCSS
$custom: #d873fd;
$custom-light: #e79ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#d873fd",
  "rgb": {
    "r": 216,
    "g": 115,
    "b": 253
  },
  "hsl": {
    "h": 283.913,
    "s": 97.183,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7232,
    "c": 0.2124,
    "h": 316.2
  },
  "luminance": 0.33952
}

Semantic roles & 50–950 ramp

primary
#D873FD
secondary
#DDF7D4
accent
#E6003E
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D873FD

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

Preview Lab → · Contrast checker → · Palette generator →

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