#D877F7#D877F7

#D877F7 is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.5% C 0.200 H 317.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D877F7
RGBrgb(216, 119, 247)
HSLhsl(285, 89%, 72%)
HSVhsv(285, 52%, 97%)
CMYKcmyk(12.6%, 51.8%, 0%, 3.1%)
CIE-LABlab(65.37, 57.44, -48.73)
CIE-LCHlch(65.37, 75.33, 319.69°)
OKLaboklab(72.55% 0.1476 -0.1355)
OKLCHoklch(72.55% 0.2 317.4)
XYZxyz(51.7018, 34.5098, 91.9152)
Luminance0.3451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877F7 #96F777
analogous
#9877F7 #D877F7 #F777D6
triadic
#D877F7 #F7D877 #77F7D8
tetradic
#D877F7 #F79877 #96F777 #77D6F7
square
#D877F7 #F79877 #96F777 #77D6F7
split-complementary
#D877F7 #D6F777 #77F798
monochromatic
#B20EE6 #C73DF4 #D877F7 #E9B1FA #F7E2FD

Accessibility & contrast

On white

2.66
#D877F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#D877F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877F7
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877F7#FFFFFF#000000##000000
##D877F71.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#7BA2F4
Tritanopia (blue-blind)
#D78AAC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d877f7;
/* rgb */ color: rgb(216, 119, 247);
/* oklch */ color: oklch(72.5% 0.200 317.4);
Tailwind
colors: {
  custom: {
    50: '#e6a2fa',
    500: '#d877f7',
    950: '#000000',
  },
}
SCSS
$custom: #d877f7;
$custom-light: #e6a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d877f7",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 285.469,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72546,
    "c": 0.20037,
    "h": 317.4
  },
  "luminance": 0.34508
}

Semantic roles & 50–950 ramp

primary
#D877F7
secondary
#DDF5D5
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D877F7

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

Preview Lab → · Contrast checker → · Palette generator →

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