#E87FE2#E87FE2

#E87FE2 is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.5% C 0.177 H 329.3°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#E87FE2
RGBrgb(232, 127, 226)
HSLhsl(303, 70%, 70%)
HSVhsv(303, 45%, 91%)
CMYKcmyk(0%, 45.3%, 2.6%, 9%)
CIE-LABlab(67.89, 54.02, -33.05)
CIE-LCHlch(67.89, 63.33, 328.54°)
OKLaboklab(74.53% 0.1518 -0.0902)
OKLCHoklch(74.53% 0.177 329.3)
XYZxyz(54.5948, 37.8285, 76.3627)
Luminance0.3783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87FE2 #7FE885
analogous
#BA7FE8 #E87FE2 #E87FAD
triadic
#E87FE2 #E2E87F #7FE2E8
tetradic
#E87FE2 #E8BA7F #7FE885 #7FADE8
square
#E87FE2 #E8BA7F #7FE885 #7FADE8
split-complementary
#E87FE2 #ADE87F #7FE8BA
monochromatic
#C924BF #DF4BD6 #E87FE2 #F1B3EE #FAE5F9

Accessibility & contrast

On white

2.45
#E87FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#E87FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87FE2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87FE2#FFFFFF#000000##000000
##E87FE21.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#799CE5
Deuteranopia (green-blind)
#96ABDF
Tritanopia (blue-blind)
#EF88A6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e87fe2;
/* rgb */ color: rgb(232, 127, 226);
/* oklch */ color: oklch(74.5% 0.177 329.3);
Tailwind
colors: {
  custom: {
    50: '#f1a7eb',
    500: '#e87fe2',
    950: '#000000',
  },
}
SCSS
$custom: #e87fe2;
$custom-light: #f1a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#e87fe2",
  "rgb": {
    "r": 232,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 303.429,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74531,
    "c": 0.17653,
    "h": 329.3
  },
  "luminance": 0.37826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E87FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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