#E877E2#E877E2

#E877E2 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.4% C 0.189 H 329.3°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#E877E2
RGBrgb(232, 119, 226)
HSLhsl(303, 71%, 69%)
HSVhsv(303, 49%, 91%)
CMYKcmyk(0%, 48.7%, 2.6%, 9%)
CIE-LABlab(66.40, 57.92, -35.37)
CIE-LCHlch(66.40, 67.87, 328.59°)
OKLaboklab(73.42% 0.1628 -0.0967)
OKLCHoklch(73.42% 0.189 329.3)
XYZxyz(53.6024, 35.8435, 76.0319)
Luminance0.3584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E877E2 #77E87D
analogous
#B677E8 #E877E2 #E877AA
triadic
#E877E2 #E2E877 #77E2E8
tetradic
#E877E2 #E8B677 #77E87D #77AAE8
square
#E877E2 #E8B677 #77E87D #77AAE8
split-complementary
#E877E2 #AAE877 #77E8B6
monochromatic
#C421BB #DF43D7 #E877E2 #F1ABED #FAE0F8

Accessibility & contrast

On white

2.57
#E877E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#E877E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E877E2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E877E2#FFFFFF#000000##000000
##E877E21.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E6
Deuteranopia (green-blind)
#91A7DF
Tritanopia (blue-blind)
#EF81A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e877e2;
/* rgb */ color: rgb(232, 119, 226);
/* oklch */ color: oklch(73.4% 0.189 329.3);
Tailwind
colors: {
  custom: {
    50: '#f2a2eb',
    500: '#e877e2',
    950: '#000000',
  },
}
SCSS
$custom: #e877e2;
$custom-light: #f2a2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#e877e2",
  "rgb": {
    "r": 232,
    "g": 119,
    "b": 226
  },
  "hsl": {
    "h": 303.186,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73422,
    "c": 0.18939,
    "h": 329.3
  },
  "luminance": 0.3584
}

Semantic roles & 50–950 ramp

primary
#E877E2
secondary
#CDEECE
accent
#D31D12
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E877E2

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

Preview Lab → · Contrast checker → · Palette generator →

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