#E87DEF#E87DEF

#E87DEF is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.8% C 0.191 H 325.0°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#E87DEF
RGBrgb(232, 125, 239)
HSLhsl(296, 78%, 71%)
HSVhsv(296, 48%, 94%)
CMYKcmyk(2.9%, 47.7%, 0%, 6.3%)
CIE-LABlab(68.06, 57.30, -39.96)
CIE-LCHlch(68.06, 69.86, 325.11°)
OKLaboklab(74.84% 0.1568 -0.1099)
OKLCHoklch(74.84% 0.191 325)
XYZxyz(56.1910, 38.0578, 86.0307)
Luminance0.3805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87DEF #84EF7D
analogous
#AF7DEF #E87DEF #EF7DBD
triadic
#E87DEF #EFE87D #7DEFE8
tetradic
#E87DEF #EFAF7D #84EF7D #7DBDEF
square
#E87DEF #EFAF7D #84EF7D #7DBDEF
split-complementary
#E87DEF #BDEF7D #7DEFAF
monochromatic
#CC1AD7 #DE47E8 #E87DEF #F2B3F6 #FAE4FC

Accessibility & contrast

On white

2.44
#E87DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#E87DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87DEF
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87DEF#FFFFFF#000000##000000
##E87DEF1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF3
Deuteranopia (green-blind)
#8FABEC
Tritanopia (blue-blind)
#ED8AAB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e87def;
/* rgb */ color: rgb(232, 125, 239);
/* oklch */ color: oklch(74.8% 0.191 325.0);
Tailwind
colors: {
  custom: {
    50: '#f1a6f4',
    500: '#e87def',
    950: '#000000',
  },
}
SCSS
$custom: #e87def;
$custom-light: #f1a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e87def",
  "rgb": {
    "r": 232,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 296.316,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74836,
    "c": 0.19147,
    "h": 325
  },
  "luminance": 0.38055
}

Semantic roles & 50–950 ramp

primary
#E87DEF
secondary
#D7F3D5
accent
#DA0B18
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E87DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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