#E878DA#E878DA

#E878DA is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.2% C 0.181 H 332.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#E878DA
RGBrgb(232, 120, 218)
HSLhsl(308, 71%, 69%)
HSVhsv(308, 48%, 91%)
CMYKcmyk(0%, 48.3%, 6%, 9%)
CIE-LABlab(66.25, 56.09, -31.14)
CIE-LCHlch(66.25, 64.16, 330.96°)
OKLaboklab(73.21% 0.16 -0.0847)
OKLCHoklch(73.21% 0.181 332.1)
XYZxyz(52.6498, 35.6539, 70.4248)
Luminance0.3565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E878DA #78E886
analogous
#BE78E8 #E878DA #E878A2
triadic
#E878DA #DAE878 #78DAE8
tetradic
#E878DA #E8BE78 #78E886 #78A2E8
square
#E878DA #E8BE78 #78E886 #78A2E8
split-complementary
#E878DA #A2E878 #78E8BE
monochromatic
#C421B0 #DF44CC #E878DA #F1ACE8 #FAE1F7

Accessibility & contrast

On white

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

On black

8.13
#E878DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E878DA
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E878DA#FFFFFF#000000##000000
##E878DA1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7597DD
Deuteranopia (green-blind)
#94A7D7
Tritanopia (blue-blind)
#F0809F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e878da;
/* rgb */ color: rgb(232, 120, 218);
/* oklch */ color: oklch(73.2% 0.181 332.1);
Tailwind
colors: {
  custom: {
    50: '#f1a3e5',
    500: '#e878da',
    950: '#000000',
  },
}
SCSS
$custom: #e878da;
$custom-light: #f1a3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#e878da",
  "rgb": {
    "r": 232,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 307.5,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73206,
    "c": 0.18103,
    "h": 332.1
  },
  "luminance": 0.35651
}

Semantic roles & 50–950 ramp

primary
#E878DA
secondary
#CDEED2
accent
#D32B13
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E878DA

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

Preview Lab → · Contrast checker → · Palette generator →

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