#E877FB#E877FB

#E877FB is a light, highly saturated purple. Relative luminance 0.373; OKLCH L 74.6% C 0.212 H 321.7°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#E877FB
RGBrgb(232, 119, 251)
HSLhsl(291, 94%, 73%)
HSVhsv(291, 53%, 98%)
CMYKcmyk(7.6%, 52.6%, 0%, 1.6%)
CIE-LABlab(67.51, 62.38, -47.41)
CIE-LCHlch(67.51, 78.35, 322.76°)
OKLaboklab(74.61% 0.1663 -0.1313)
OKLCHoklch(74.61% 0.212 321.7)
XYZxyz(57.2862, 37.3171, 95.4335)
Luminance0.3731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E877FB #8AFB77
analogous
#A677FB #E877FB #FB77CC
triadic
#E877FB #FBE877 #77FBE8
tetradic
#E877FB #FBA677 #8AFB77 #77CCFB
square
#E877FB #FBA677 #8AFB77 #77CCFB
split-complementary
#E877FB #CCFB77 #77FBA6
monochromatic
#CF07F1 #DE3CF9 #E877FB #F2B2FD #FAE1FE

Accessibility & contrast

On white

2.48
#E877FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#E877FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E877FB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E877FB#FFFFFF#000000##000000
##E877FB1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#85A9F7
Tritanopia (blue-blind)
#EA89AE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e877fb;
/* rgb */ color: rgb(232, 119, 251);
/* oklch */ color: oklch(74.6% 0.212 321.7);
Tailwind
colors: {
  custom: {
    50: '#f2a3fd',
    500: '#e877fb',
    950: '#000000',
  },
}
SCSS
$custom: #e877fb;
$custom-light: #f2a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e877fb",
  "rgb": {
    "r": 232,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 291.364,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74608,
    "c": 0.21187,
    "h": 321.7
  },
  "luminance": 0.37314
}

Semantic roles & 50–950 ramp

primary
#E877FB
secondary
#DAF6D5
accent
#E60021
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E877FB

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

Preview Lab → · Contrast checker → · Palette generator →

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