#E877FC#E877FC

#E877FC is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 74.7% C 0.213 H 321.4°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#E877FC
RGBrgb(232, 119, 252)
HSLhsl(291, 96%, 73%)
HSVhsv(291, 53%, 99%)
CMYKcmyk(7.9%, 52.8%, 0%, 1.2%)
CIE-LABlab(67.56, 62.56, -47.88)
CIE-LCHlch(67.56, 78.78, 322.57°)
OKLaboklab(74.66% 0.1664 -0.1327)
OKLCHoklch(74.66% 0.213 321.4)
XYZxyz(57.4443, 37.3803, 96.2659)
Luminance0.3738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E877FC #8BFC77
analogous
#A577FC #E877FC #FC77CE
triadic
#E877FC #FCE877 #77FCE8
tetradic
#E877FC #FCA577 #8BFC77 #77CEFC
square
#E877FC #FCA577 #8BFC77 #77CEFC
split-complementary
#E877FC #CEFC77 #77FCA5
monochromatic
#CF05F3 #DE3BFB #E877FC #F2B3FD #FAE1FE

Accessibility & contrast

On white

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

On black

8.48
#E877FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E877FC
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E877FC#FFFFFF#000000##000000
##E877FC1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#EA89AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e877fc;
/* rgb */ color: rgb(232, 119, 252);
/* oklch */ color: oklch(74.7% 0.213 321.4);
Tailwind
colors: {
  custom: {
    50: '#f2a3fe',
    500: '#e877fc',
    950: '#000000',
  },
}
SCSS
$custom: #e877fc;
$custom-light: #f2a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e877fc",
  "rgb": {
    "r": 232,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 290.977,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74658,
    "c": 0.2128,
    "h": 321.4
  },
  "luminance": 0.37378
}

Semantic roles & 50–950 ramp

primary
#E877FC
secondary
#DAF7D4
accent
#E60023
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E877FC

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

Preview Lab → · Contrast checker → · Palette generator →

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