#E87DFD#E87DFD

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

Color values

HEX#E87DFD
RGBrgb(232, 125, 253)
HSLhsl(290, 97%, 74%)
HSVhsv(290, 51%, 99%)
CMYKcmyk(8.3%, 50.6%, 0%, 0.8%)
CIE-LABlab(68.69, 59.88, -46.65)
CIE-LCHlch(68.69, 75.91, 322.08°)
OKLaboklab(75.51% 0.1587 -0.1292)
OKLCHoklch(75.51% 0.205 320.9)
XYZxyz(58.3399, 38.9173, 97.3482)
Luminance0.3891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87DFD #92FD7D
analogous
#A87DFD #E87DFD #FD7DD2
triadic
#E87DFD #FDE87D #7DFDE8
tetradic
#E87DFD #FDA87D #92FD7D #7DD2FD
square
#E87DFD #FDA87D #92FD7D #7DD2FD
split-complementary
#E87DFD #D2FD7D #7DFDA8
monochromatic
#D304FB #DD41FC #E87DFD #F3B9FE #FAE1FF

Accessibility & contrast

On white

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

On black

8.78
#E87DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87DFD
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87DFD#FFFFFF#000000##000000
##E87DFD1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#89ACF9
Tritanopia (blue-blind)
#EA8FB2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e87dfd;
/* rgb */ color: rgb(232, 125, 253);
/* oklch */ color: oklch(75.5% 0.205 320.9);
Tailwind
colors: {
  custom: {
    50: '#f2a6fe',
    500: '#e87dfd',
    950: '#000000',
  },
}
SCSS
$custom: #e87dfd;
$custom-light: #f2a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e87dfd",
  "rgb": {
    "r": 232,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 290.156,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75505,
    "c": 0.20461,
    "h": 320.9
  },
  "luminance": 0.38915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E87DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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