#E87EF8#E87EF8

#E87EF8 is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.4% C 0.198 H 322.2°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#E87EF8
RGBrgb(232, 126, 248)
HSLhsl(292, 90%, 73%)
HSVhsv(292, 49%, 97%)
CMYKcmyk(6.5%, 49.2%, 0%, 2.7%)
CIE-LABlab(68.65, 58.46, -43.99)
CIE-LCHlch(68.65, 73.16, 323.04°)
OKLaboklab(75.4% 0.1567 -0.1215)
OKLCHoklch(75.4% 0.198 322.2)
XYZxyz(57.6810, 38.8574, 93.2506)
Luminance0.3886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87EF8 #8EF87E
analogous
#AB7EF8 #E87EF8 #F87ECB
triadic
#E87EF8 #F8E87E #7EF8E8
tetradic
#E87EF8 #F8AB7E #8EF87E #7ECBF8
square
#E87EF8 #F8AB7E #8EF87E #7ECBF8
split-complementary
#E87EF8 #CBF87E #7EF8AB
monochromatic
#D10DEF #DE44F5 #E87EF8 #F2B8FB #FAE2FD

Accessibility & contrast

On white

2.39
#E87EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#E87EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87EF8
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87EF8#FFFFFF#000000##000000
##E87EF81.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FC
Deuteranopia (green-blind)
#8CACF5
Tritanopia (blue-blind)
#EB8EB0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e87ef8;
/* rgb */ color: rgb(232, 126, 248);
/* oklch */ color: oklch(75.4% 0.198 322.2);
Tailwind
colors: {
  custom: {
    50: '#f2a7fb',
    500: '#e87ef8',
    950: '#000000',
  },
}
SCSS
$custom: #e87ef8;
$custom-light: #f2a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e87ef8",
  "rgb": {
    "r": 232,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 292.131,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75399,
    "c": 0.1983,
    "h": 322.2
  },
  "luminance": 0.38855
}

Semantic roles & 50–950 ramp

primary
#E87EF8
secondary
#DAF6D5
accent
#E6001E
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E87EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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