#E87AF0#E87AF0

#E87AF0 is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.5% C 0.197 H 324.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#E87AF0
RGBrgb(232, 122, 240)
HSLhsl(296, 80%, 71%)
HSVhsv(296, 49%, 94%)
CMYKcmyk(3.3%, 49.2%, 0%, 5.9%)
CIE-LABlab(67.55, 58.94, -41.31)
CIE-LCHlch(67.55, 71.97, 324.97°)
OKLaboklab(74.47% 0.161 -0.1137)
OKLCHoklch(74.47% 0.197 324.8)
XYZxyz(55.9651, 37.3689, 86.6862)
Luminance0.3737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87AF0 #82F07A
analogous
#AD7AF0 #E87AF0 #F07ABD
triadic
#E87AF0 #F0E87A #7AF0E8
tetradic
#E87AF0 #F0AD7A #82F07A #7ABDF0
square
#E87AF0 #F0AD7A #82F07A #7ABDF0
split-complementary
#E87AF0 #BDF07A #7AF0AD
monochromatic
#CA18D7 #DE43EA #E87AF0 #F2B1F6 #FAE4FC

Accessibility & contrast

On white

2.48
#E87AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#E87AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87AF0
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87AF0#FFFFFF#000000##000000
##E87AF01.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF4
Deuteranopia (green-blind)
#8DA9ED
Tritanopia (blue-blind)
#EC88AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e87af0;
/* rgb */ color: rgb(232, 122, 240);
/* oklch */ color: oklch(74.5% 0.197 324.8);
Tailwind
colors: {
  custom: {
    50: '#f2a4f5',
    500: '#e87af0',
    950: '#000000',
  },
}
SCSS
$custom: #e87af0;
$custom-light: #f2a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#e87af0",
  "rgb": {
    "r": 232,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 295.932,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74472,
    "c": 0.19711,
    "h": 324.8
  },
  "luminance": 0.37366
}

Semantic roles & 50–950 ramp

primary
#E87AF0
secondary
#D5F3D3
accent
#DC0918
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #E87AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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