#E878FB#E878FB

#E878FB is a light, highly saturated purple. Relative luminance 0.376; OKLCH L 74.7% C 0.210 H 321.6°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#E878FB
RGBrgb(232, 120, 251)
HSLhsl(291, 94%, 73%)
HSVhsv(291, 52%, 98%)
CMYKcmyk(7.6%, 52.2%, 0%, 1.6%)
CIE-LABlab(67.69, 61.90, -47.13)
CIE-LCHlch(67.69, 77.80, 322.72°)
OKLaboklab(74.74% 0.165 -0.1305)
OKLCHoklch(74.74% 0.21 321.6)
XYZxyz(57.4058, 37.5564, 95.4734)
Luminance0.3755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E878FB #8BFB78
analogous
#A778FB #E878FB #FB78CC
triadic
#E878FB #FBE878 #78FBE8
tetradic
#E878FB #FBA778 #8BFB78 #78CCFB
square
#E878FB #FBA778 #8BFB78 #78CCFB
split-complementary
#E878FB #CCFB78 #78FBA7
monochromatic
#CF07F1 #DE3DF9 #E878FB #F2B3FD #FAE1FE

Accessibility & contrast

On white

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

On black

8.51
#E878FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E878FB
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E878FB#FFFFFF#000000##000000
##E878FB1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e878fb;
/* rgb */ color: rgb(232, 120, 251);
/* oklch */ color: oklch(74.7% 0.210 321.6);
Tailwind
colors: {
  custom: {
    50: '#f2a3fd',
    500: '#e878fb',
    950: '#000000',
  },
}
SCSS
$custom: #e878fb;
$custom-light: #f2a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e878fb",
  "rgb": {
    "r": 232,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 291.298,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74739,
    "c": 0.21036,
    "h": 321.6
  },
  "luminance": 0.37554
}

Semantic roles & 50–950 ramp

primary
#E878FB
secondary
#DAF6D5
accent
#E60021
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E878FB

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

Preview Lab → · Contrast checker → · Palette generator →

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