#E871E2#E871E2

#E871E2 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.6% C 0.199 H 329.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#E871E2
RGBrgb(232, 113, 226)
HSLhsl(303, 72%, 68%)
HSVhsv(303, 51%, 91%)
CMYKcmyk(0%, 51.3%, 2.6%, 9%)
CIE-LABlab(65.33, 60.77, -37.04)
CIE-LCHlch(65.33, 71.17, 328.64°)
OKLaboklab(72.63% 0.1709 -0.1014)
OKLCHoklch(72.63% 0.199 329.3)
XYZxyz(52.9107, 34.4602, 75.8014)
Luminance0.3446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871E2 #71E877
analogous
#B271E8 #E871E2 #E871A7
triadic
#E871E2 #E2E871 #71E2E8
tetradic
#E871E2 #E8B271 #71E877 #71A7E8
square
#E871E2 #E8B271 #71E877 #71A7E8
split-complementary
#E871E2 #A7E871 #71E8B2
monochromatic
#C01FB7 #DF3CD7 #E871E2 #F1A6ED #F9DAF8

Accessibility & contrast

On white

2.66
#E871E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#E871E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871E2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871E2#FFFFFF#000000##000000
##E871E21.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6994E6
Deuteranopia (green-blind)
#8DA4DF
Tritanopia (blue-blind)
#EF7C9F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e871e2;
/* rgb */ color: rgb(232, 113, 226);
/* oklch */ color: oklch(72.6% 0.199 329.3);
Tailwind
colors: {
  custom: {
    50: '#f29eeb',
    500: '#e871e2',
    950: '#000000',
  },
}
SCSS
$custom: #e871e2;
$custom-light: #f29eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#e871e2",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 303.025,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72628,
    "c": 0.19876,
    "h": 329.3
  },
  "luminance": 0.34457
}

Semantic roles & 50–950 ramp

primary
#E871E2
secondary
#C8EDCA
accent
#D41B11
background
#FFFAFE
surface
#FEF3FD
border
#D6CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E871E2

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

Preview Lab → · Contrast checker → · Palette generator →

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