#E878EE#E878EE

#E878EE is a light, vivid purple. Relative luminance 0.368; OKLCH L 74.1% C 0.198 H 325.4°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#E878EE
RGBrgb(232, 120, 238)
HSLhsl(297, 78%, 70%)
HSVhsv(297, 50%, 93%)
CMYKcmyk(2.5%, 49.6%, 0%, 6.7%)
CIE-LABlab(67.10, 59.54, -40.91)
CIE-LCHlch(67.10, 72.24, 325.50°)
OKLaboklab(74.11% 0.1634 -0.1126)
OKLCHoklch(74.11% 0.198 325.4)
XYZxyz(55.4266, 36.7646, 85.0491)
Luminance0.3676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E878EE #7EEE78
analogous
#AD78EE #E878EE #EE78B9
triadic
#E878EE #EEE878 #78EEE8
tetradic
#E878EE #EEAD78 #7EEE78 #78B9EE
square
#E878EE #EEAD78 #7EEE78 #78B9EE
split-complementary
#E878EE #B9EE78 #78EEAD
monochromatic
#C81AD1 #DF42E7 #E878EE #F1AEF5 #FAE4FC

Accessibility & contrast

On white

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

On black

8.35
#E878EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E878EE
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E878EE#FFFFFF#000000##000000
##E878EE1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#8CA8EB
Tritanopia (blue-blind)
#ED86A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e878ee;
/* rgb */ color: rgb(232, 120, 238);
/* oklch */ color: oklch(74.1% 0.198 325.4);
Tailwind
colors: {
  custom: {
    50: '#f2a3f4',
    500: '#e878ee',
    950: '#000000',
  },
}
SCSS
$custom: #e878ee;
$custom-light: #f2a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e878ee",
  "rgb": {
    "r": 232,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 296.949,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74109,
    "c": 0.19842,
    "h": 325.4
  },
  "luminance": 0.36762
}

Semantic roles & 50–950 ramp

primary
#E878EE
secondary
#D2F1D1
accent
#DA0C16
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E878EE

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

Preview Lab → · Contrast checker → · Palette generator →

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