#E87AFE#E87AFE

#E87AFE is a light, highly saturated purple. Relative luminance 0.382; OKLCH L 75.2% C 0.210 H 320.7°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#E87AFE
RGBrgb(232, 122, 254)
HSLhsl(290, 99%, 74%)
HSVhsv(290, 52%, 100%)
CMYKcmyk(8.7%, 52%, 0%, 0.4%)
CIE-LABlab(68.19, 61.51, -47.99)
CIE-LCHlch(68.19, 78.01, 322.04°)
OKLaboklab(75.15% 0.1627 -0.133)
OKLCHoklch(75.15% 0.21 320.7)
XYZxyz(58.1255, 38.2331, 98.0647)
Luminance0.3823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87AFE #90FE7A
analogous
#A67AFE #E87AFE #FE7AD2
triadic
#E87AFE #FEE87A #7AFEE8
tetradic
#E87AFE #FEA67A #90FE7A #7AD2FE
square
#E87AFE #FEA67A #90FE7A #7AD2FE
split-complementary
#E87AFE #D2FE7A #7AFEA6
monochromatic
#D202FC #DD3DFE #E87AFE #F3B7FE #FAE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E87AFE#FFFFFF#000000##000000
##E87AFE1.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)
#639EFF
Deuteranopia (green-blind)
#86AAFA
Tritanopia (blue-blind)
#EA8CB1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e87afe;
/* rgb */ color: rgb(232, 122, 254);
/* oklch */ color: oklch(75.2% 0.210 320.7);
Tailwind
colors: {
  custom: {
    50: '#f2a4ff',
    500: '#e87afe',
    950: '#000000',
  },
}
SCSS
$custom: #e87afe;
$custom-light: #f2a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e87afe",
  "rgb": {
    "r": 232,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 290,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75153,
    "c": 0.21015,
    "h": 320.7
  },
  "luminance": 0.38231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E87AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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