#E87DEC#E87DEC

#E87DEC is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.7% C 0.189 H 325.9°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#E87DEC
RGBrgb(232, 125, 236)
HSLhsl(298, 74%, 71%)
HSVhsv(298, 47%, 93%)
CMYKcmyk(1.7%, 47%, 0%, 7.5%)
CIE-LABlab(67.93, 56.76, -38.51)
CIE-LCHlch(67.93, 68.59, 325.85°)
OKLaboklab(74.7% 0.1563 -0.1057)
OKLCHoklch(74.7% 0.189 325.9)
XYZxyz(55.7515, 37.8820, 83.7159)
Luminance0.3788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87DEC #81EC7D
analogous
#B07DEC #E87DEC #EC7DB8
triadic
#E87DEC #ECE87D #7DECE8
tetradic
#E87DEC #ECB07D #81EC7D #7DB8EC
square
#E87DEC #ECB07D #81EC7D #7DB8EC
split-complementary
#E87DEC #B8EC7D #7DECB0
monochromatic
#CA1ED0 #DF48E4 #E87DEC #F1B2F4 #FAE4FB

Accessibility & contrast

On white

2.45
#E87DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#E87DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87DEC
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87DEC#FFFFFF#000000##000000
##E87DEC1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#91AAE9
Tritanopia (blue-blind)
#ED89AA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e87dec;
/* rgb */ color: rgb(232, 125, 236);
/* oklch */ color: oklch(74.7% 0.189 325.9);
Tailwind
colors: {
  custom: {
    50: '#f1a6f2',
    500: '#e87dec',
    950: '#000000',
  },
}
SCSS
$custom: #e87dec;
$custom-light: #f1a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e87dec",
  "rgb": {
    "r": 232,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 297.838,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74697,
    "c": 0.18872,
    "h": 325.9
  },
  "luminance": 0.37879
}

Semantic roles & 50–950 ramp

primary
#E87DEC
secondary
#D5F1D3
accent
#D70F16
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E87DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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