#E87AFB#E87AFB

#E87AFB is a light, highly saturated purple. Relative luminance 0.380; OKLCH L 75.0% C 0.207 H 321.6°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#E87AFB
RGBrgb(232, 122, 251)
HSLhsl(291, 94%, 73%)
HSVhsv(291, 51%, 98%)
CMYKcmyk(7.6%, 51.4%, 0%, 1.6%)
CIE-LABlab(68.05, 60.95, -46.56)
CIE-LCHlch(68.05, 76.70, 322.62°)
OKLaboklab(75% 0.1624 -0.1289)
OKLCHoklch(75% 0.207 321.6)
XYZxyz(57.6489, 38.0424, 95.5544)
Luminance0.3804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87AFB #8DFB7A
analogous
#A77AFB #E87AFB #FB7ACD
triadic
#E87AFB #FBE87A #7AFBE8
tetradic
#E87AFB #FBA77A #8DFB7A #7ACDFB
square
#E87AFB #FBA77A #8DFB7A #7ACDFB
split-complementary
#E87AFB #CDFB7A #7AFBA7
monochromatic
#D107F3 #DE3FF9 #E87AFB #F2B5FD #FAE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E87AFB#FFFFFF#000000##000000
##E87AFB1.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)
#659EFF
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#EA8CB0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e87afb;
/* rgb */ color: rgb(232, 122, 251);
/* oklch */ color: oklch(75.0% 0.207 321.6);
Tailwind
colors: {
  custom: {
    50: '#f2a4fd',
    500: '#e87afb',
    950: '#000000',
  },
}
SCSS
$custom: #e87afb;
$custom-light: #f2a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e87afb",
  "rgb": {
    "r": 232,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 291.163,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75004,
    "c": 0.20731,
    "h": 321.6
  },
  "luminance": 0.3804
}

Semantic roles & 50–950 ramp

primary
#E87AFB
secondary
#DAF6D5
accent
#E60022
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E87AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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