#E878EA#E878EA

#E878EA is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.9% C 0.195 H 326.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#E878EA
RGBrgb(232, 120, 234)
HSLhsl(299, 73%, 69%)
HSVhsv(299, 49%, 92%)
CMYKcmyk(0.9%, 48.7%, 0%, 8.2%)
CIE-LABlab(66.92, 58.83, -38.98)
CIE-LCHlch(66.92, 70.57, 326.47°)
OKLaboklab(73.92% 0.1628 -0.107)
OKLCHoklch(73.92% 0.195 326.7)
XYZxyz(54.8454, 36.5322, 81.9885)
Luminance0.3653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E878EA #7AEA78
analogous
#AF78EA #E878EA #EA78B3
triadic
#E878EA #EAE878 #78EAE8
tetradic
#E878EA #EAAF78 #7AEA78 #78B3EA
square
#E878EA #EAAF78 #7AEA78 #78B3EA
split-complementary
#E878EA #B3EA78 #78EAAF
monochromatic
#C51FC8 #DF43E2 #E878EA #F1ADF2 #FAE2FA

Accessibility & contrast

On white

2.53
#E878EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#E878EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E878EA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E878EA#FFFFFF#000000##000000
##E878EA1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEE
Deuteranopia (green-blind)
#8EA8E7
Tritanopia (blue-blind)
#EE85A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e878ea;
/* rgb */ color: rgb(232, 120, 234);
/* oklch */ color: oklch(73.9% 0.195 326.7);
Tailwind
colors: {
  custom: {
    50: '#f2a3f1',
    500: '#e878ea',
    950: '#000000',
  },
}
SCSS
$custom: #e878ea;
$custom-light: #f2a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e878ea",
  "rgb": {
    "r": 232,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 298.947,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73922,
    "c": 0.19483,
    "h": 326.7
  },
  "luminance": 0.36529
}

Semantic roles & 50–950 ramp

primary
#E878EA
secondary
#CFEFCE
accent
#D51014
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E878EA

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

Preview Lab → · Contrast checker → · Palette generator →

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