#E87FEA#E87FEA

#E87FEA is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.9% C 0.184 H 326.5°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#E87FEA
RGBrgb(232, 127, 234)
HSLhsl(299, 72%, 71%)
HSVhsv(299, 46%, 92%)
CMYKcmyk(0.9%, 45.7%, 0%, 8.2%)
CIE-LABlab(68.22, 55.42, -36.95)
CIE-LCHlch(68.22, 66.61, 326.31°)
OKLaboklab(74.89% 0.1532 -0.1013)
OKLCHoklch(74.89% 0.184 326.5)
XYZxyz(55.7183, 38.2779, 82.2794)
Luminance0.3827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87FEA #81EA7F
analogous
#B37FEA #E87FEA #EA7FB6
triadic
#E87FEA #EAE87F #7FEAE8
tetradic
#E87FEA #EAB37F #81EA7F #7FB6EA
square
#E87FEA #EAB37F #81EA7F #7FB6EA
split-complementary
#E87FEA #B6EA7F #7FEAB3
monochromatic
#CA22CD #DF4AE1 #E87FEA #F1B4F3 #FAE5FB

Accessibility & contrast

On white

2.43
#E87FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#E87FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87FEA
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87FEA#FFFFFF#000000##000000
##E87FEA1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#93ABE7
Tritanopia (blue-blind)
#ED8AAA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e87fea;
/* rgb */ color: rgb(232, 127, 234);
/* oklch */ color: oklch(74.9% 0.184 326.5);
Tailwind
colors: {
  custom: {
    50: '#f1a7f1',
    500: '#e87fea',
    950: '#000000',
  },
}
SCSS
$custom: #e87fea;
$custom-light: #f1a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e87fea",
  "rgb": {
    "r": 232,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 298.879,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74886,
    "c": 0.18369,
    "h": 326.5
  },
  "luminance": 0.38275
}

Semantic roles & 50–950 ramp

primary
#E87FEA
secondary
#D5F1D4
accent
#D41215
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E87FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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