#E87DFC#E87DFC

#E87DFC is a light, highly saturated purple. Relative luminance 0.389; OKLCH L 75.5% C 0.204 H 321.1°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#E87DFC
RGBrgb(232, 125, 252)
HSLhsl(291, 95%, 74%)
HSVhsv(291, 50%, 99%)
CMYKcmyk(7.9%, 50.4%, 0%, 1.2%)
CIE-LABlab(68.65, 59.69, -46.18)
CIE-LCHlch(68.65, 75.47, 322.27°)
OKLaboklab(75.46% 0.1586 -0.1278)
OKLCHoklch(75.46% 0.204 321.1)
XYZxyz(58.1810, 38.8538, 96.5114)
Luminance0.3885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87DFC #91FC7D
analogous
#A97DFC #E87DFC #FC7DD1
triadic
#E87DFC #FCE87D #7DFCE8
tetradic
#E87DFC #FCA97D #91FC7D #7DD1FC
square
#E87DFC #FCA97D #91FC7D #7DD1FC
split-complementary
#E87DFC #D1FC7D #7DFCA9
monochromatic
#D306F9 #DD41FB #E87DFC #F3B9FD #FAE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E87DFC#FFFFFF#000000##000000
##E87DFC1.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)
#68A0FF
Deuteranopia (green-blind)
#89ACF8
Tritanopia (blue-blind)
#EA8EB1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e87dfc;
/* rgb */ color: rgb(232, 125, 252);
/* oklch */ color: oklch(75.5% 0.204 321.1);
Tailwind
colors: {
  custom: {
    50: '#f2a6fe',
    500: '#e87dfc',
    950: '#000000',
  },
}
SCSS
$custom: #e87dfc;
$custom-light: #f2a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e87dfc",
  "rgb": {
    "r": 232,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 290.551,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75456,
    "c": 0.20365,
    "h": 321.1
  },
  "luminance": 0.38851
}

Semantic roles & 50–950 ramp

primary
#E87DFC
secondary
#DAF7D4
accent
#E60024
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E87DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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