#E878FC#E878FC

#E878FC is a light, highly saturated purple. Relative luminance 0.376; OKLCH L 74.8% C 0.211 H 321.4°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#E878FC
RGBrgb(232, 120, 252)
HSLhsl(291, 96%, 73%)
HSVhsv(291, 52%, 99%)
CMYKcmyk(7.9%, 52.4%, 0%, 1.2%)
CIE-LABlab(67.74, 62.09, -47.60)
CIE-LCHlch(67.74, 78.24, 322.52°)
OKLaboklab(74.79% 0.1651 -0.1319)
OKLCHoklch(74.79% 0.211 321.4)
XYZxyz(57.5639, 37.6196, 96.3057)
Luminance0.3762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E878FC #8CFC78
analogous
#A678FC #E878FC #FC78CE
triadic
#E878FC #FCE878 #78FCE8
tetradic
#E878FC #FCA678 #8CFC78 #78CEFC
square
#E878FC #FCA678 #8CFC78 #78CEFC
split-complementary
#E878FC #CEFC78 #78FCA6
monochromatic
#D005F4 #DE3CFB #E878FC #F2B4FD #FAE1FE

Accessibility & contrast

On white

2.46
#E878FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#E878FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E878FC
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E878FC#FFFFFF#000000##000000
##E878FC1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#EA8AAF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e878fc;
/* rgb */ color: rgb(232, 120, 252);
/* oklch */ color: oklch(74.8% 0.211 321.4);
Tailwind
colors: {
  custom: {
    50: '#f2a3fe',
    500: '#e878fc',
    950: '#000000',
  },
}
SCSS
$custom: #e878fc;
$custom-light: #f2a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e878fc",
  "rgb": {
    "r": 232,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 290.909,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74789,
    "c": 0.2113,
    "h": 321.4
  },
  "luminance": 0.37617
}

Semantic roles & 50–950 ramp

primary
#E878FC
secondary
#DAF7D4
accent
#E60023
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E878FC

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

Preview Lab → · Contrast checker → · Palette generator →

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