#E87FEF#E87FEF

#E87FEF is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.1% C 0.188 H 324.9°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#E87FEF
RGBrgb(232, 127, 239)
HSLhsl(296, 78%, 72%)
HSVhsv(296, 47%, 94%)
CMYKcmyk(2.9%, 46.9%, 0%, 6.3%)
CIE-LABlab(68.44, 56.32, -39.37)
CIE-LCHlch(68.44, 68.72, 325.04°)
OKLaboklab(75.11% 0.1541 -0.1082)
OKLCHoklch(75.11% 0.188 324.9)
XYZxyz(56.4467, 38.5693, 86.1160)
Luminance0.3857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87FEF #86EF7F
analogous
#B07FEF #E87FEF #EF7FBE
triadic
#E87FEF #EFE87F #7FEFE8
tetradic
#E87FEF #EFB07F #86EF7F #7FBEEF
square
#E87FEF #EFB07F #86EF7F #7FBEEF
split-complementary
#E87FEF #BEEF7F #7FEFB0
monochromatic
#CD1BD9 #DE49E8 #E87FEF #F2B5F6 #FAE4FC

Accessibility & contrast

On white

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

On black

8.71
#E87FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87FEF
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87FEF#FFFFFF#000000##000000
##E87FEF1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF3
Deuteranopia (green-blind)
#91ABEC
Tritanopia (blue-blind)
#EC8CAC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e87fef;
/* rgb */ color: rgb(232, 127, 239);
/* oklch */ color: oklch(75.1% 0.188 324.9);
Tailwind
colors: {
  custom: {
    50: '#f1a7f4',
    500: '#e87fef',
    950: '#000000',
  },
}
SCSS
$custom: #e87fef;
$custom-light: #f1a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e87fef",
  "rgb": {
    "r": 232,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 296.25,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75114,
    "c": 0.18829,
    "h": 324.9
  },
  "luminance": 0.38567
}

Semantic roles & 50–950 ramp

primary
#E87FEF
secondary
#D8F3D7
accent
#DA0B18
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E87FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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