#E877DF#E877DF

#E877DF is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.3% C 0.187 H 330.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#E877DF
RGBrgb(232, 119, 223)
HSLhsl(305, 71%, 69%)
HSVhsv(305, 49%, 91%)
CMYKcmyk(0%, 48.7%, 3.9%, 9%)
CIE-LABlab(66.27, 57.41, -33.90)
CIE-LCHlch(66.27, 66.67, 329.44°)
OKLaboklab(73.29% 0.1623 -0.0925)
OKLCHoklch(73.29% 0.187 330.3)
XYZxyz(53.1943, 35.6803, 73.8829)
Luminance0.3568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E877DF #77E880
analogous
#B977E8 #E877DF #E877A7
triadic
#E877DF #DFE877 #77DFE8
tetradic
#E877DF #E8B977 #77E880 #77A7E8
square
#E877DF #E8B977 #77E880 #77A7E8
split-complementary
#E877DF #A7E877 #77E8B9
monochromatic
#C421B7 #DF43D3 #E877DF #F1ABEB #FAE0F8

Accessibility & contrast

On white

2.58
#E877DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#E877DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E877DF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E877DF#FFFFFF#000000##000000
##E877DF1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7197E2
Deuteranopia (green-blind)
#92A7DC
Tritanopia (blue-blind)
#EF80A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e877df;
/* rgb */ color: rgb(232, 119, 223);
/* oklch */ color: oklch(73.3% 0.187 330.3);
Tailwind
colors: {
  custom: {
    50: '#f2a2e9',
    500: '#e877df',
    950: '#000000',
  },
}
SCSS
$custom: #e877df;
$custom-light: #f2a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e877df",
  "rgb": {
    "r": 232,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 304.779,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73288,
    "c": 0.18683,
    "h": 330.3
  },
  "luminance": 0.35677
}

Semantic roles & 50–950 ramp

primary
#E877DF
secondary
#CDEECF
accent
#D32212
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E877DF

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

Preview Lab → · Contrast checker → · Palette generator →

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