#E878F9#E878F9

#E878F9 is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 74.6% C 0.208 H 322.2°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#E878F9
RGBrgb(232, 120, 249)
HSLhsl(292, 91%, 72%)
HSVhsv(292, 52%, 98%)
CMYKcmyk(6.8%, 51.8%, 0%, 2.4%)
CIE-LABlab(67.60, 61.53, -46.18)
CIE-LCHlch(67.60, 76.94, 323.11°)
OKLaboklab(74.64% 0.1648 -0.1278)
OKLCHoklch(74.64% 0.209 322.2)
XYZxyz(57.0922, 37.4309, 93.8218)
Luminance0.3743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E878F9 #89F978
analogous
#A878F9 #E878F9 #F978CA
triadic
#E878F9 #F9E878 #78F9E8
tetradic
#E878F9 #F9A878 #89F978 #78CAF9
square
#E878F9 #F9A878 #89F978 #78CAF9
split-complementary
#E878F9 #CAF978 #78F9A8
monochromatic
#CE0AEC #DE3DF6 #E878F9 #F2B3FC #FAE2FE

Accessibility & contrast

On white

2.47
#E878F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#E878F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E878F9
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E878F9#FFFFFF#000000##000000
##E878F91.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFD
Deuteranopia (green-blind)
#87A9F5
Tritanopia (blue-blind)
#EB89AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e878f9;
/* rgb */ color: rgb(232, 120, 249);
/* oklch */ color: oklch(74.6% 0.208 322.2);
Tailwind
colors: {
  custom: {
    50: '#f2a3fc',
    500: '#e878f9',
    950: '#000000',
  },
}
SCSS
$custom: #e878f9;
$custom-light: #f2a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e878f9",
  "rgb": {
    "r": 232,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 292.093,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7464,
    "c": 0.2085,
    "h": 322.2
  },
  "luminance": 0.37428
}

Semantic roles & 50–950 ramp

primary
#E878F9
secondary
#D9F6D5
accent
#E6001E
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E878F9

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

Preview Lab → · Contrast checker → · Palette generator →

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