#E87FF2#E87FF2

#E87FF2 is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.3% C 0.191 H 324.0°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#E87FF2
RGBrgb(232, 127, 242)
HSLhsl(295, 82%, 72%)
HSVhsv(295, 48%, 95%)
CMYKcmyk(4.1%, 47.5%, 0%, 5.1%)
CIE-LABlab(68.57, 56.87, -40.82)
CIE-LCHlch(68.57, 70.00, 324.33°)
OKLaboklab(75.25% 0.1545 -0.1124)
OKLCHoklch(75.25% 0.191 324)
XYZxyz(56.8936, 38.7480, 88.4695)
Luminance0.3875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87FF2 #89F27F
analogous
#AF7FF2 #E87FF2 #F27FC2
triadic
#E87FF2 #F2E87F #7FF2E8
tetradic
#E87FF2 #F2AF7F #89F27F #7FC2F2
square
#E87FF2 #F2AF7F #89F27F #7FC2F2
split-complementary
#E87FF2 #C2F27F #7FF2AF
monochromatic
#CE17E0 #DE47EC #E87FF2 #F2B7F8 #FAE3FC

Accessibility & contrast

On white

2.40
#E87FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#E87FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87FF2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87FF2#FFFFFF#000000##000000
##E87FF21.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#8FACEF
Tritanopia (blue-blind)
#EC8DAD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e87ff2;
/* rgb */ color: rgb(232, 127, 242);
/* oklch */ color: oklch(75.3% 0.191 324.0);
Tailwind
colors: {
  custom: {
    50: '#f1a7f6',
    500: '#e87ff2',
    950: '#000000',
  },
}
SCSS
$custom: #e87ff2;
$custom-light: #f1a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e87ff2",
  "rgb": {
    "r": 232,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 294.783,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75253,
    "c": 0.19107,
    "h": 324
  },
  "luminance": 0.38745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E87FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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