#E87AFC#E87AFC

#E87AFC is a light, highly saturated purple. Relative luminance 0.381; OKLCH L 75.1% C 0.208 H 321.3°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#E87AFC
RGBrgb(232, 122, 252)
HSLhsl(291, 96%, 73%)
HSVhsv(291, 52%, 99%)
CMYKcmyk(7.9%, 51.6%, 0%, 1.2%)
CIE-LABlab(68.10, 61.13, -47.04)
CIE-LCHlch(68.10, 77.14, 322.42°)
OKLaboklab(75.05% 0.1625 -0.1303)
OKLCHoklch(75.05% 0.208 321.3)
XYZxyz(57.8069, 38.1057, 96.3867)
Luminance0.3810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87AFC #8EFC7A
analogous
#A77AFC #E87AFC #FC7ACF
triadic
#E87AFC #FCE87A #7AFCE8
tetradic
#E87AFC #FCA77A #8EFC7A #7ACFFC
square
#E87AFC #FCA77A #8EFC7A #7ACFFC
split-complementary
#E87AFC #CFFC7A #7AFCA7
monochromatic
#D106F6 #DE3EFB #E87AFC #F2B6FD #FAE1FE

Accessibility & contrast

On white

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

On black

8.62
#E87AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87AFC
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87AFC#FFFFFF#000000##000000
##E87AFC1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#EA8CB0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e87afc;
/* rgb */ color: rgb(232, 122, 252);
/* oklch */ color: oklch(75.1% 0.208 321.3);
Tailwind
colors: {
  custom: {
    50: '#f2a4fe',
    500: '#e87afc',
    950: '#000000',
  },
}
SCSS
$custom: #e87afc;
$custom-light: #f2a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e87afc",
  "rgb": {
    "r": 232,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 290.769,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75053,
    "c": 0.20826,
    "h": 321.3
  },
  "luminance": 0.38103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E87AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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