#E87DF7#E87DF7

#E87DF7 is a light, vivid purple. Relative luminance 0.385; OKLCH L 75.2% C 0.199 H 322.6°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#E87DF7
RGBrgb(232, 125, 247)
HSLhsl(293, 88%, 73%)
HSVhsv(293, 49%, 97%)
CMYKcmyk(6.1%, 49.4%, 0%, 3.1%)
CIE-LABlab(68.42, 58.76, -43.80)
CIE-LCHlch(68.42, 73.29, 323.30°)
OKLaboklab(75.21% 0.1579 -0.1209)
OKLCHoklch(75.21% 0.199 322.6)
XYZxyz(57.3991, 38.5410, 92.3933)
Luminance0.3854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87DF7 #8CF77D
analogous
#AB7DF7 #E87DF7 #F77DC9
triadic
#E87DF7 #F7E87D #7DF7E8
tetradic
#E87DF7 #F7AB7D #8CF77D #7DC9F7
square
#E87DF7 #F7AB7D #8CF77D #7DC9F7
split-complementary
#E87DF7 #C9F77D #7DF7AB
monochromatic
#D00EEB #DE43F3 #E87DF7 #F2B7FB #FAE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E87DF7#FFFFFF#000000##000000
##E87DF71.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)
#6B9FFB
Deuteranopia (green-blind)
#8CABF3
Tritanopia (blue-blind)
#EB8DAF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e87df7;
/* rgb */ color: rgb(232, 125, 247);
/* oklch */ color: oklch(75.2% 0.199 322.6);
Tailwind
colors: {
  custom: {
    50: '#f2a6fa',
    500: '#e87df7',
    950: '#000000',
  },
}
SCSS
$custom: #e87df7;
$custom-light: #f2a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e87df7",
  "rgb": {
    "r": 232,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 292.623,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75214,
    "c": 0.19892,
    "h": 322.6
  },
  "luminance": 0.38538
}

Semantic roles & 50–950 ramp

primary
#E87DF7
secondary
#DAF5D6
accent
#E5001D
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E87DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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