#E871F8#E871F8

#E871F8 is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 73.7% C 0.218 H 322.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#E871F8
RGBrgb(232, 113, 248)
HSLhsl(293, 91%, 71%)
HSVhsv(293, 54%, 97%)
CMYKcmyk(6.5%, 54.4%, 0%, 2.7%)
CIE-LABlab(66.33, 64.63, -47.64)
CIE-LCHlch(66.33, 80.29, 323.61°)
OKLaboklab(73.69% 0.1736 -0.1319)
OKLCHoklch(73.69% 0.218 322.8)
XYZxyz(56.1254, 35.7461, 92.7321)
Luminance0.3574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871F8 #81F871
analogous
#A471F8 #E871F8 #F871C4
triadic
#E871F8 #F8E871 #71F8E8
tetradic
#E871F8 #F8A471 #81F871 #71C4F8
square
#E871F8 #F8A471 #81F871 #71C4F8
split-complementary
#E871F8 #C4F871 #71F8A4
monochromatic
#CA0BE3 #DF37F5 #E871F8 #F1ABFB #FAE2FE

Accessibility & contrast

On white

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

On black

8.15
#E871F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871F8
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871F8#FFFFFF#000000##000000
##E871F81.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#82A6F4
Tritanopia (blue-blind)
#EB84AA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e871f8;
/* rgb */ color: rgb(232, 113, 248);
/* oklch */ color: oklch(73.7% 0.218 322.8);
Tailwind
colors: {
  custom: {
    50: '#f29ffb',
    500: '#e871f8',
    950: '#000000',
  },
}
SCSS
$custom: #e871f8;
$custom-light: #f29ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#e871f8",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 292.889,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73689,
    "c": 0.21806,
    "h": 322.8
  },
  "luminance": 0.35743
}

Semantic roles & 50–950 ramp

primary
#E871F8
secondary
#D5F5D0
accent
#E6001B
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E871F8

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

Preview Lab → · Contrast checker → · Palette generator →

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