#E877DB#E877DB

#E877DB is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.1% C 0.183 H 331.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#E877DB
RGBrgb(232, 119, 219)
HSLhsl(307, 71%, 69%)
HSVhsv(307, 49%, 91%)
CMYKcmyk(0%, 48.7%, 5.6%, 9%)
CIE-LABlab(66.11, 56.74, -31.92)
CIE-LCHlch(66.11, 65.10, 330.64°)
OKLaboklab(73.11% 0.1616 -0.0869)
OKLCHoklch(73.11% 0.183 331.7)
XYZxyz(52.6614, 35.4672, 71.0762)
Luminance0.3546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E877DB #77E884
analogous
#BD77E8 #E877DB #E877A3
triadic
#E877DB #DBE877 #77DBE8
tetradic
#E877DB #E8BD77 #77E884 #77A3E8
square
#E877DB #E8BD77 #77E884 #77A3E8
split-complementary
#E877DB #A3E877 #77E8BD
monochromatic
#C421B1 #DF43CD #E877DB #F1ABE9 #FAE0F7

Accessibility & contrast

On white

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

On black

8.09
#E877DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E877DB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E877DB#FFFFFF#000000##000000
##E877DB1.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DE
Deuteranopia (green-blind)
#93A6D8
Tritanopia (blue-blind)
#F07F9F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e877db;
/* rgb */ color: rgb(232, 119, 219);
/* oklch */ color: oklch(73.1% 0.183 331.7);
Tailwind
colors: {
  custom: {
    50: '#f1a2e6',
    500: '#e877db',
    950: '#000000',
  },
}
SCSS
$custom: #e877db;
$custom-light: #f1a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e877db",
  "rgb": {
    "r": 232,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 306.903,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73112,
    "c": 0.18347,
    "h": 331.7
  },
  "luminance": 0.35464
}

Semantic roles & 50–950 ramp

primary
#E877DB
secondary
#CDEED1
accent
#D32912
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E877DB

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

Preview Lab → · Contrast checker → · Palette generator →

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