#E871F7#E871F7

#E871F7 is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 73.6% C 0.217 H 323.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#E871F7
RGBrgb(232, 113, 247)
HSLhsl(293, 89%, 71%)
HSVhsv(293, 54%, 97%)
CMYKcmyk(6.1%, 54.3%, 0%, 3.1%)
CIE-LABlab(66.28, 64.45, -47.16)
CIE-LCHlch(66.28, 79.86, 323.80°)
OKLaboklab(73.64% 0.1735 -0.1306)
OKLCHoklch(73.64% 0.217 323)
XYZxyz(55.9707, 35.6842, 91.9172)
Luminance0.3568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871F7 #80F771
analogous
#A571F7 #E871F7 #F771C3
triadic
#E871F7 #F7E871 #71F7E8
tetradic
#E871F7 #F7A571 #80F771 #71C3F7
square
#E871F7 #F7A571 #80F771 #71C3F7
split-complementary
#E871F7 #C3F771 #71F7A5
monochromatic
#C90DE1 #DF37F4 #E871F7 #F1ABFA #FAE2FD

Accessibility & contrast

On white

2.58
#E871F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#E871F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871F7
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871F7#FFFFFF#000000##000000
##E871F71.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#83A6F3
Tritanopia (blue-blind)
#EB83AA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e871f7;
/* rgb */ color: rgb(232, 113, 247);
/* oklch */ color: oklch(73.6% 0.217 323.0);
Tailwind
colors: {
  custom: {
    50: '#f29ffa',
    500: '#e871f7',
    950: '#000000',
  },
}
SCSS
$custom: #e871f7;
$custom-light: #f29ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#e871f7",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 293.284,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73638,
    "c": 0.21715,
    "h": 323
  },
  "luminance": 0.35681
}

Semantic roles & 50–950 ramp

primary
#E871F7
secondary
#D4F4D0
accent
#E6001A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E871F7

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

Preview Lab → · Contrast checker → · Palette generator →

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