#E877F2#E877F2

#E877F2 is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.2% C 0.204 H 324.3°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#E877F2
RGBrgb(232, 119, 242)
HSLhsl(295, 83%, 71%)
HSVhsv(295, 51%, 95%)
CMYKcmyk(4.1%, 50.8%, 0%, 5.1%)
CIE-LABlab(67.10, 60.73, -43.12)
CIE-LCHlch(67.10, 74.49, 324.63°)
OKLaboklab(74.17% 0.1652 -0.1189)
OKLCHoklch(74.17% 0.204 324.3)
XYZxyz(55.9011, 36.7630, 88.1386)
Luminance0.3676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E877F2 #81F277
analogous
#AA77F2 #E877F2 #F277BE
triadic
#E877F2 #F2E877 #77F2E8
tetradic
#E877F2 #F2AA77 #81F277 #77BEF2
square
#E877F2 #F2AA77 #81F277 #77BEF2
split-complementary
#E877F2 #BEF277 #77F2AA
monochromatic
#CA15DA #DF3FED #E877F2 #F1AFF7 #FAE3FC

Accessibility & contrast

On white

2.51
#E877F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#E877F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E877F2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E877F2#FFFFFF#000000##000000
##E877F21.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#8AA8EE
Tritanopia (blue-blind)
#EC86AA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e877f2;
/* rgb */ color: rgb(232, 119, 242);
/* oklch */ color: oklch(74.2% 0.204 324.3);
Tailwind
colors: {
  custom: {
    50: '#f2a2f7',
    500: '#e877f2',
    950: '#000000',
  },
}
SCSS
$custom: #e877f2;
$custom-light: #f2a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e877f2",
  "rgb": {
    "r": 232,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 295.122,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74166,
    "c": 0.20359,
    "h": 324.3
  },
  "luminance": 0.3676
}

Semantic roles & 50–950 ramp

primary
#E877F2
secondary
#D5F3D2
accent
#DF0718
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #E877F2

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

Preview Lab → · Contrast checker → · Palette generator →

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