#E871FA#E871FA

#E871FA is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 73.8% C 0.220 H 322.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#E871FA
RGBrgb(232, 113, 250)
HSLhsl(292, 93%, 71%)
HSVhsv(292, 55%, 98%)
CMYKcmyk(7.2%, 54.8%, 0%, 2%)
CIE-LABlab(66.42, 64.99, -48.58)
CIE-LCHlch(66.42, 81.14, 323.22°)
OKLaboklab(73.79% 0.1738 -0.1347)
OKLCHoklch(73.79% 0.22 322.2)
XYZxyz(56.4373, 35.8709, 94.3749)
Luminance0.3587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871FA #83FA71
analogous
#A371FA #E871FA #FA71C7
triadic
#E871FA #FAE871 #71FAE8
tetradic
#E871FA #FAA371 #83FA71 #71C7FA
square
#E871FA #FAA371 #83FA71 #71C7FA
split-complementary
#E871FA #C7FA71 #71FAA3
monochromatic
#CB08E8 #DE36F8 #E871FA #F2ACFC #FAE1FE

Accessibility & contrast

On white

2.57
#E871FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#E871FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871FA
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871FA#FFFFFF#000000##000000
##E871FA1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FE
Deuteranopia (green-blind)
#81A6F6
Tritanopia (blue-blind)
#EB84AB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e871fa;
/* rgb */ color: rgb(232, 113, 250);
/* oklch */ color: oklch(73.8% 0.220 322.2);
Tailwind
colors: {
  custom: {
    50: '#f29ffc',
    500: '#e871fa',
    950: '#000000',
  },
}
SCSS
$custom: #e871fa;
$custom-light: #f29ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#e871fa",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 292.117,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7379,
    "c": 0.21987,
    "h": 322.2
  },
  "luminance": 0.35868
}

Semantic roles & 50–950 ramp

primary
#E871FA
secondary
#D6F5D1
accent
#E6001E
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E871FA

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

Preview Lab → · Contrast checker → · Palette generator →

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