#E878EF#E878EF

#E878EF is a light, vivid purple. Relative luminance 0.368; OKLCH L 74.2% C 0.199 H 325.1°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#E878EF
RGBrgb(232, 120, 239)
HSLhsl(296, 79%, 70%)
HSVhsv(296, 50%, 94%)
CMYKcmyk(2.9%, 49.8%, 0%, 6.3%)
CIE-LABlab(67.14, 59.72, -41.40)
CIE-LCHlch(67.14, 72.66, 325.27°)
OKLaboklab(74.16% 0.1635 -0.114)
OKLCHoklch(74.16% 0.199 325.1)
XYZxyz(55.5739, 36.8236, 85.8250)
Luminance0.3682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E878EF #7FEF78
analogous
#AD78EF #E878EF #EF78BA
triadic
#E878EF #EFE878 #78EFE8
tetradic
#E878EF #EFAD78 #7FEF78 #78BAEF
square
#E878EF #EFAD78 #7FEF78 #78BAEF
split-complementary
#E878EF #BAEF78 #78EFAD
monochromatic
#C919D4 #DF41E9 #E878EF #F1AFF5 #FAE4FC

Accessibility & contrast

On white

2.51
#E878EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#E878EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E878EF
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E878EF#FFFFFF#000000##000000
##E878EF1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#8CA8EC
Tritanopia (blue-blind)
#ED86A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e878ef;
/* rgb */ color: rgb(232, 120, 239);
/* oklch */ color: oklch(74.2% 0.199 325.1);
Tailwind
colors: {
  custom: {
    50: '#f2a3f4',
    500: '#e878ef',
    950: '#000000',
  },
}
SCSS
$custom: #e878ef;
$custom-light: #f2a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e878ef",
  "rgb": {
    "r": 232,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 296.471,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74156,
    "c": 0.19932,
    "h": 325.1
  },
  "luminance": 0.36821
}

Semantic roles & 50–950 ramp

primary
#E878EF
secondary
#D3F2D1
accent
#DB0A17
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E878EF

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

Preview Lab → · Contrast checker → · Palette generator →

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