#E871FC#E871FC

#E871FC is a light, highly saturated purple. Relative luminance 0.360; OKLCH L 73.9% C 0.222 H 321.7°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#E871FC
RGBrgb(232, 113, 252)
HSLhsl(291, 96%, 72%)
HSVhsv(291, 55%, 99%)
CMYKcmyk(7.9%, 55.2%, 0%, 1.2%)
CIE-LABlab(66.52, 65.36, -49.53)
CIE-LCHlch(66.52, 82.00, 322.84°)
OKLaboklab(73.89% 0.174 -0.1374)
OKLCHoklch(73.89% 0.222 321.7)
XYZxyz(56.7526, 35.9970, 96.0353)
Luminance0.3599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871FC #85FC71
analogous
#A371FC #E871FC #FC71CB
triadic
#E871FC #FCE871 #71FCE8
tetradic
#E871FC #FCA371 #85FC71 #71CBFC
square
#E871FC #FCA371 #85FC71 #71CBFC
split-complementary
#E871FC #CBFC71 #71FCA3
monochromatic
#CC05EE #DE35FB #E871FC #F2ADFD #FAE1FE

Accessibility & contrast

On white

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

On black

8.20
#E871FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871FC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871FC#FFFFFF#000000##000000
##E871FC1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#EA85AC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #e871fc;
/* rgb */ color: rgb(232, 113, 252);
/* oklch */ color: oklch(73.9% 0.222 321.7);
Tailwind
colors: {
  custom: {
    50: '#f29ffe',
    500: '#e871fc',
    950: '#000000',
  },
}
SCSS
$custom: #e871fc;
$custom-light: #f29ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#e871fc",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 291.367,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73892,
    "c": 0.22169,
    "h": 321.7
  },
  "luminance": 0.35994
}

Semantic roles & 50–950 ramp

primary
#E871FC
secondary
#D8F6D3
accent
#E60021
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E871FC

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

Preview Lab → · Contrast checker → · Palette generator →

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