#E87EF2#E87EF2

#E87EF2 is a light, vivid purple. Relative luminance 0.385; OKLCH L 75.1% C 0.193 H 324.0°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#E87EF2
RGBrgb(232, 126, 242)
HSLhsl(295, 82%, 72%)
HSVhsv(295, 48%, 95%)
CMYKcmyk(4.1%, 47.9%, 0%, 5.1%)
CIE-LABlab(68.38, 57.36, -41.11)
CIE-LCHlch(68.38, 70.57, 324.37°)
OKLaboklab(75.11% 0.1559 -0.1132)
OKLCHoklch(75.11% 0.193 324)
XYZxyz(56.7651, 38.4910, 88.4266)
Luminance0.3849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87EF2 #88F27E
analogous
#AE7EF2 #E87EF2 #F27EC2
triadic
#E87EF2 #F2E87E #7EF2E8
tetradic
#E87EF2 #F2AE7E #88F27E #7EC2F2
square
#E87EF2 #F2AE7E #88F27E #7EC2F2
split-complementary
#E87EF2 #C2F27E #7EF2AE
monochromatic
#CE16DF #DE46EC #E87EF2 #F2B6F8 #FAE3FC

Accessibility & contrast

On white

2.41
#E87EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#E87EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87EF2
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87EF2#FFFFFF#000000##000000
##E87EF21.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#8FABEF
Tritanopia (blue-blind)
#EC8CAD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e87ef2;
/* rgb */ color: rgb(232, 126, 242);
/* oklch */ color: oklch(75.1% 0.193 324.0);
Tailwind
colors: {
  custom: {
    50: '#f1a7f6',
    500: '#e87ef2',
    950: '#000000',
  },
}
SCSS
$custom: #e87ef2;
$custom-light: #f1a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e87ef2",
  "rgb": {
    "r": 232,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 294.828,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75114,
    "c": 0.19266,
    "h": 324
  },
  "luminance": 0.38488
}

Semantic roles & 50–950 ramp

primary
#E87EF2
secondary
#D9F4D7
accent
#DE071A
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #E87EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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