#E877DC#E877DC

#E877DC is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.2% C 0.184 H 331.4°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#E877DC
RGBrgb(232, 119, 220)
HSLhsl(306, 71%, 69%)
HSVhsv(306, 49%, 91%)
CMYKcmyk(0%, 48.7%, 5.2%, 9%)
CIE-LABlab(66.15, 56.91, -32.42)
CIE-LCHlch(66.15, 65.49, 330.33°)
OKLaboklab(73.16% 0.1618 -0.0883)
OKLCHoklch(73.16% 0.184 331.4)
XYZxyz(52.7934, 35.5200, 71.7716)
Luminance0.3552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E877DC #77E883
analogous
#BC77E8 #E877DC #E877A4
triadic
#E877DC #DCE877 #77DCE8
tetradic
#E877DC #E8BC77 #77E883 #77A4E8
square
#E877DC #E8BC77 #77E883 #77A4E8
split-complementary
#E877DC #A4E877 #77E8BC
monochromatic
#C421B2 #DF43CF #E877DC #F1ABE9 #FAE0F7

Accessibility & contrast

On white

2.59
#E877DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#E877DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E877DC
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E877DC#FFFFFF#000000##000000
##E877DC1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DF
Deuteranopia (green-blind)
#93A7D9
Tritanopia (blue-blind)
#F0809F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e877dc;
/* rgb */ color: rgb(232, 119, 220);
/* oklch */ color: oklch(73.2% 0.184 331.4);
Tailwind
colors: {
  custom: {
    50: '#f1a2e7',
    500: '#e877dc',
    950: '#000000',
  },
}
SCSS
$custom: #e877dc;
$custom-light: #f1a2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e877dc",
  "rgb": {
    "r": 232,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 306.372,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73156,
    "c": 0.1843,
    "h": 331.4
  },
  "luminance": 0.35517
}

Semantic roles & 50–950 ramp

primary
#E877DC
secondary
#CDEED0
accent
#D32712
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E877DC

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

Preview Lab → · Contrast checker → · Palette generator →

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