#E871FD#E871FD

#E871FD is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 73.9% C 0.223 H 321.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#E871FD
RGBrgb(232, 113, 253)
HSLhsl(291, 97%, 72%)
HSVhsv(291, 55%, 99%)
CMYKcmyk(8.3%, 55.3%, 0%, 0.8%)
CIE-LABlab(66.57, 65.54, -50.00)
CIE-LCHlch(66.57, 82.44, 322.66°)
OKLaboklab(73.94% 0.174 -0.1388)
OKLCHoklch(73.94% 0.223 321.4)
XYZxyz(56.9115, 36.0605, 96.8721)
Luminance0.3606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871FD #86FD71
analogous
#A271FD #E871FD #FD71CC
triadic
#E871FD #FDE871 #71FDE8
tetradic
#E871FD #FDA271 #86FD71 #71CCFD
square
#E871FD #FDA271 #86FD71 #71CCFD
split-complementary
#E871FD #CCFD71 #71FDA2
monochromatic
#CD03F0 #DE35FC #E871FD #F2ADFE #FAE1FF

Accessibility & contrast

On white

2.56
#E871FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#E871FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871FD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871FD#FFFFFF#000000##000000
##E871FD1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#80A6F9
Tritanopia (blue-blind)
#EA85AD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #e871fd;
/* rgb */ color: rgb(232, 113, 253);
/* oklch */ color: oklch(73.9% 0.223 321.4);
Tailwind
colors: {
  custom: {
    50: '#f29ffe',
    500: '#e871fd',
    950: '#000000',
  },
}
SCSS
$custom: #e871fd;
$custom-light: #f29ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#e871fd",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 291,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73943,
    "c": 0.2226,
    "h": 321.4
  },
  "luminance": 0.36058
}

Semantic roles & 50–950 ramp

primary
#E871FD
secondary
#D8F7D3
accent
#E60022
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E871FD

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

Preview Lab → · Contrast checker → · Palette generator →

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