#E877F1#E877F1

#E877F1 is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.1% C 0.203 H 324.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#E877F1
RGBrgb(232, 119, 241)
HSLhsl(296, 81%, 71%)
HSVhsv(296, 51%, 95%)
CMYKcmyk(3.7%, 50.6%, 0%, 5.5%)
CIE-LABlab(67.05, 60.55, -42.64)
CIE-LCHlch(67.05, 74.06, 324.85°)
OKLaboklab(74.12% 0.1651 -0.1176)
OKLCHoklch(74.12% 0.203 324.5)
XYZxyz(55.7513, 36.7031, 87.3498)
Luminance0.3670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E877F1 #80F177
analogous
#AB77F1 #E877F1 #F177BD
triadic
#E877F1 #F1E877 #77F1E8
tetradic
#E877F1 #F1AB77 #80F177 #77BDF1
square
#E877F1 #F1AB77 #80F177 #77BDF1
split-complementary
#E877F1 #BDF177 #77F1AB
monochromatic
#C916D7 #DF40EB #E877F1 #F1AEF7 #FAE3FC

Accessibility & contrast

On white

2.52
#E877F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#E877F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E877F1
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E877F1#FFFFFF#000000##000000
##E877F11.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF5
Deuteranopia (green-blind)
#8AA8ED
Tritanopia (blue-blind)
#EC86A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e877f1;
/* rgb */ color: rgb(232, 119, 241);
/* oklch */ color: oklch(74.1% 0.203 324.5);
Tailwind
colors: {
  custom: {
    50: '#f2a2f6',
    500: '#e877f1',
    950: '#000000',
  },
}
SCSS
$custom: #e877f1;
$custom-light: #f2a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e877f1",
  "rgb": {
    "r": 232,
    "g": 119,
    "b": 241
  },
  "hsl": {
    "h": 295.574,
    "s": 81.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74118,
    "c": 0.20268,
    "h": 324.5
  },
  "luminance": 0.367
}

Semantic roles & 50–950 ramp

primary
#E877F1
secondary
#D4F2D1
accent
#DE0818
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #E877F1

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

Preview Lab → · Contrast checker → · Palette generator →

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