#E87DF2#E87DF2

#E87DF2 is a light, vivid purple. Relative luminance 0.382; OKLCH L 75.0% C 0.194 H 324.0°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#E87DF2
RGBrgb(232, 125, 242)
HSLhsl(295, 82%, 72%)
HSVhsv(295, 48%, 95%)
CMYKcmyk(4.1%, 48.3%, 0%, 5.1%)
CIE-LABlab(68.19, 57.84, -41.40)
CIE-LCHlch(68.19, 71.14, 324.41°)
OKLaboklab(74.98% 0.1572 -0.114)
OKLCHoklch(74.98% 0.194 324)
XYZxyz(56.6379, 38.2365, 88.3842)
Luminance0.3823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87DF2 #87F27D
analogous
#AE7DF2 #E87DF2 #F27DC2
triadic
#E87DF2 #F2E87D #7DF2E8
tetradic
#E87DF2 #F2AE7D #87F27D #7DC2F2
square
#E87DF2 #F2AE7D #87F27D #7DC2F2
split-complementary
#E87DF2 #C2F27D #7DF2AE
monochromatic
#CD16DE #DE45EC #E87DF2 #F2B5F8 #FAE3FC

Accessibility & contrast

On white

2.43
#E87DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#E87DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87DF2
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87DF2#FFFFFF#000000##000000
##E87DF21.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#EC8BAD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e87df2;
/* rgb */ color: rgb(232, 125, 242);
/* oklch */ color: oklch(75.0% 0.194 324.0);
Tailwind
colors: {
  custom: {
    50: '#f1a6f6',
    500: '#e87df2',
    950: '#000000',
  },
}
SCSS
$custom: #e87df2;
$custom-light: #f1a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e87df2",
  "rgb": {
    "r": 232,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 294.872,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74976,
    "c": 0.19424,
    "h": 324
  },
  "luminance": 0.38234
}

Semantic roles & 50–950 ramp

primary
#E87DF2
secondary
#D9F4D7
accent
#DE071A
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #E87DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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