#E87EE2#E87EE2

#E87EE2 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.4% C 0.178 H 329.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#E87EE2
RGBrgb(232, 126, 226)
HSLhsl(303, 70%, 70%)
HSVhsv(303, 46%, 91%)
CMYKcmyk(0%, 45.7%, 2.6%, 9%)
CIE-LABlab(67.70, 54.51, -33.34)
CIE-LCHlch(67.70, 63.90, 328.55°)
OKLaboklab(74.39% 0.1532 -0.091)
OKLCHoklch(74.39% 0.178 329.3)
XYZxyz(54.4663, 37.5715, 76.3199)
Luminance0.3757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87EE2 #7EE884
analogous
#B97EE8 #E87EE2 #E87EAD
triadic
#E87EE2 #E2E87E #7EE2E8
tetradic
#E87EE2 #E8B97E #7EE884 #7EADE8
square
#E87EE2 #E8B97E #7EE884 #7EADE8
split-complementary
#E87EE2 #ADE87E #7EE8B9
monochromatic
#C824BF #DF4AD6 #E87EE2 #F1B2EE #FAE5F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E87EE2#FFFFFF#000000##000000
##E87EE21.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)
#789CE5
Deuteranopia (green-blind)
#95AADF
Tritanopia (blue-blind)
#EF87A6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e87ee2;
/* rgb */ color: rgb(232, 126, 226);
/* oklch */ color: oklch(74.4% 0.178 329.3);
Tailwind
colors: {
  custom: {
    50: '#f1a6eb',
    500: '#e87ee2',
    950: '#000000',
  },
}
SCSS
$custom: #e87ee2;
$custom-light: #f1a6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#e87ee2",
  "rgb": {
    "r": 232,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 303.396,
    "s": 69.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74389,
    "c": 0.17816,
    "h": 329.3
  },
  "luminance": 0.37569
}

Semantic roles & 50–950 ramp

primary
#E87EE2
secondary
#D2F0D4
accent
#D21F14
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E87EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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