#E871DA#E871DA

#E871DA is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.3% C 0.192 H 332.0°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#E871DA
RGBrgb(232, 113, 218)
HSLhsl(307, 72%, 68%)
HSVhsv(307, 51%, 91%)
CMYKcmyk(0%, 51.3%, 6%, 9%)
CIE-LABlab(64.99, 59.43, -33.11)
CIE-LCHlch(64.99, 68.03, 330.88°)
OKLaboklab(72.27% 0.1696 -0.0902)
OKLCHoklch(72.27% 0.192 332)
XYZxyz(51.8385, 34.0314, 70.1544)
Luminance0.3403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871DA #71E87F
analogous
#BB71E8 #E871DA #E8719E
triadic
#E871DA #DAE871 #71DAE8
tetradic
#E871DA #E8BB71 #71E87F #719EE8
square
#E871DA #E8BB71 #71E87F #719EE8
split-complementary
#E871DA #9EE871 #71E8BB
monochromatic
#C01FAD #DF3CCC #E871DA #F1A6E8 #F9DAF5

Accessibility & contrast

On white

2.69
#E871DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#E871DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871DA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871DA#FFFFFF#000000##000000
##E871DA1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D93DD
Deuteranopia (green-blind)
#90A4D7
Tritanopia (blue-blind)
#F07A9C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e871da;
/* rgb */ color: rgb(232, 113, 218);
/* oklch */ color: oklch(72.3% 0.192 332.0);
Tailwind
colors: {
  custom: {
    50: '#f29ee5',
    500: '#e871da',
    950: '#000000',
  },
}
SCSS
$custom: #e871da;
$custom-light: #f29ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#e871da",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 307.059,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72266,
    "c": 0.19211,
    "h": 332
  },
  "luminance": 0.34028
}

Semantic roles & 50–950 ramp

primary
#E871DA
secondary
#C8EDCC
accent
#D42811
background
#FFFAFE
surface
#FEF3FC
border
#D6CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E871DA

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

Preview Lab → · Contrast checker → · Palette generator →

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