#E878F8#E878F8

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

Color values

HEX#E878F8
RGBrgb(232, 120, 248)
HSLhsl(293, 90%, 72%)
HSVhsv(293, 52%, 97%)
CMYKcmyk(6.5%, 51.6%, 0%, 2.7%)
CIE-LABlab(67.55, 61.35, -45.71)
CIE-LCHlch(67.55, 76.50, 323.31°)
OKLaboklab(74.59% 0.1646 -0.1264)
OKLCHoklch(74.59% 0.208 322.5)
XYZxyz(56.9367, 37.3687, 93.0025)
Luminance0.3737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E878F8 #88F878
analogous
#A878F8 #E878F8 #F878C8
triadic
#E878F8 #F8E878 #78F8E8
tetradic
#E878F8 #F8A878 #88F878 #78C8F8
square
#E878F8 #F8A878 #88F878 #78C8F8
split-complementary
#E878F8 #C8F878 #78F8A8
monochromatic
#CE0CE9 #DE3EF5 #E878F8 #F2B2FB #FAE2FD

Accessibility & contrast

On white

2.48
#E878F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#E878F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E878F8
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E878F8#FFFFFF#000000##000000
##E878F81.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#87A9F4
Tritanopia (blue-blind)
#EB89AD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e878f8;
/* rgb */ color: rgb(232, 120, 248);
/* oklch */ color: oklch(74.6% 0.208 322.5);
Tailwind
colors: {
  custom: {
    50: '#f2a3fb',
    500: '#e878f8',
    950: '#000000',
  },
}
SCSS
$custom: #e878f8;
$custom-light: #f2a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e878f8",
  "rgb": {
    "r": 232,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 292.5,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7459,
    "c": 0.20757,
    "h": 322.5
  },
  "luminance": 0.37366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E878F8

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

Preview Lab → · Contrast checker → · Palette generator →

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