#E871FB#E871FB

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

Color values

HEX#E871FB
RGBrgb(232, 113, 251)
HSLhsl(292, 95%, 71%)
HSVhsv(292, 55%, 98%)
CMYKcmyk(7.6%, 55%, 0%, 1.6%)
CIE-LABlab(66.47, 65.17, -49.06)
CIE-LCHlch(66.47, 81.57, 323.03°)
OKLaboklab(73.84% 0.1739 -0.1361)
OKLCHoklch(73.84% 0.221 322)
XYZxyz(56.5946, 35.9338, 95.2029)
Luminance0.3593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871FB #84FB71
analogous
#A371FB #E871FB #FB71C9
triadic
#E871FB #FBE871 #71FBE8
tetradic
#E871FB #FBA371 #84FB71 #71C9FB
square
#E871FB #FBA371 #84FB71 #71C9FB
split-complementary
#E871FB #C9FB71 #71FBA3
monochromatic
#CC07EB #DE35F9 #E871FB #F2ADFD #FAE1FE

Accessibility & contrast

On white

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

On black

8.19
#E871FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871FB
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871FB#FFFFFF#000000##000000
##E871FB1.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#81A6F7
Tritanopia (blue-blind)
#EB85AC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #e871fb;
/* rgb */ color: rgb(232, 113, 251);
/* oklch */ color: oklch(73.8% 0.221 322.0);
Tailwind
colors: {
  custom: {
    50: '#f29ffd',
    500: '#e871fb',
    950: '#000000',
  },
}
SCSS
$custom: #e871fb;
$custom-light: #f29ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#e871fb",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 291.739,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73841,
    "c": 0.22079,
    "h": 322
  },
  "luminance": 0.35931
}

Semantic roles & 50–950 ramp

primary
#E871FB
secondary
#D7F6D2
accent
#E60020
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E871FB

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

Preview Lab → · Contrast checker → · Palette generator →

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