#E87DF8#E87DF8

#E87DF8 is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.3% C 0.200 H 322.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#E87DF8
RGBrgb(232, 125, 248)
HSLhsl(292, 90%, 73%)
HSVhsv(292, 50%, 97%)
CMYKcmyk(6.5%, 49.6%, 0%, 2.7%)
CIE-LABlab(68.46, 58.94, -44.28)
CIE-LCHlch(68.46, 73.72, 323.09°)
OKLaboklab(75.26% 0.1581 -0.1223)
OKLCHoklch(75.26% 0.2 322.3)
XYZxyz(57.5538, 38.6029, 93.2082)
Luminance0.3860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87DF8 #8DF87D
analogous
#AA7DF8 #E87DF8 #F87DCA
triadic
#E87DF8 #F8E87D #7DF8E8
tetradic
#E87DF8 #F8AA7D #8DF87D #7DCAF8
square
#E87DF8 #F8AA7D #8DF87D #7DCAF8
split-complementary
#E87DF8 #CAF87D #7DF8AA
monochromatic
#D10DEE #DE43F5 #E87DF8 #F2B7FB #FAE2FD

Accessibility & contrast

On white

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

On black

8.72
#E87DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87DF8
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87DF8#FFFFFF#000000##000000
##E87DF81.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFC
Deuteranopia (green-blind)
#8BABF4
Tritanopia (blue-blind)
#EB8DAF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e87df8;
/* rgb */ color: rgb(232, 125, 248);
/* oklch */ color: oklch(75.3% 0.200 322.3);
Tailwind
colors: {
  custom: {
    50: '#f2a6fb',
    500: '#e87df8',
    950: '#000000',
  },
}
SCSS
$custom: #e87df8;
$custom-light: #f2a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e87df8",
  "rgb": {
    "r": 232,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 292.195,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75262,
    "c": 0.19986,
    "h": 322.3
  },
  "luminance": 0.386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E87DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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