#D877F4#D877F4

#D877F4 is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.4% C 0.197 H 318.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#D877F4
RGBrgb(216, 119, 244)
HSLhsl(287, 85%, 71%)
HSVhsv(287, 51%, 96%)
CMYKcmyk(11.5%, 51.2%, 0%, 4.3%)
CIE-LABlab(65.22, 56.85, -47.31)
CIE-LCHlch(65.22, 73.96, 320.23°)
OKLaboklab(72.39% 0.1473 -0.1314)
OKLCHoklch(72.39% 0.197 318.3)
XYZxyz(51.2426, 34.3261, 89.4967)
Luminance0.3432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877F4 #93F477
analogous
#9977F4 #D877F4 #F477D1
triadic
#D877F4 #F4D877 #77F4D8
tetradic
#D877F4 #F49977 #93F477 #77D1F4
square
#D877F4 #F49977 #93F477 #77D1F4
split-complementary
#D877F4 #D1F477 #77F499
monochromatic
#B112DF #C83EEF #D877F4 #E8B0F9 #F7E3FD

Accessibility & contrast

On white

2.67
#D877F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#D877F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877F4
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877F4#FFFFFF#000000##000000
##D877F41.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F8
Deuteranopia (green-blind)
#7DA2F1
Tritanopia (blue-blind)
#D889AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d877f4;
/* rgb */ color: rgb(216, 119, 244);
/* oklch */ color: oklch(72.4% 0.197 318.3);
Tailwind
colors: {
  custom: {
    50: '#e6a1f8',
    500: '#d877f4',
    950: '#000000',
  },
}
SCSS
$custom: #d877f4;
$custom-light: #e6a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d877f4",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 244
  },
  "hsl": {
    "h": 286.56,
    "s": 85.034,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72392,
    "c": 0.19738,
    "h": 318.3
  },
  "luminance": 0.34324
}

Semantic roles & 50–950 ramp

primary
#D877F4
secondary
#DAF4D3
accent
#E20436
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D877F4

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

Preview Lab → · Contrast checker → · Palette generator →

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