#E871DF#E871DF

#E871DF is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.5% C 0.196 H 330.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#E871DF
RGBrgb(232, 113, 223)
HSLhsl(305, 72%, 68%)
HSVhsv(305, 51%, 91%)
CMYKcmyk(0%, 51.3%, 3.9%, 9%)
CIE-LABlab(65.20, 60.26, -35.57)
CIE-LCHlch(65.20, 69.98, 329.45°)
OKLaboklab(72.49% 0.1705 -0.0972)
OKLCHoklch(72.49% 0.196 330.3)
XYZxyz(52.5027, 34.2970, 73.6523)
Luminance0.3429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871DF #71E87A
analogous
#B671E8 #E871DF #E871A3
triadic
#E871DF #DFE871 #71DFE8
tetradic
#E871DF #E8B671 #71E87A #71A3E8
square
#E871DF #E8B671 #71E87A #71A3E8
split-complementary
#E871DF #A3E871 #71E8B6
monochromatic
#C01FB3 #DF3CD3 #E871DF #F1A6EB #F9DAF7

Accessibility & contrast

On white

2.67
#E871DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#E871DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871DF
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871DF#FFFFFF#000000##000000
##E871DF1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A94E3
Deuteranopia (green-blind)
#8EA4DC
Tritanopia (blue-blind)
#F07B9E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e871df;
/* rgb */ color: rgb(232, 113, 223);
/* oklch */ color: oklch(72.5% 0.196 330.3);
Tailwind
colors: {
  custom: {
    50: '#f29ee9',
    500: '#e871df',
    950: '#000000',
  },
}
SCSS
$custom: #e871df;
$custom-light: #f29ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#e871df",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 304.538,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72491,
    "c": 0.19623,
    "h": 330.3
  },
  "luminance": 0.34294
}

Semantic roles & 50–950 ramp

primary
#E871DF
secondary
#C8EDCB
accent
#D42011
background
#FFFAFE
surface
#FEF3FD
border
#D6CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E871DF

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

Preview Lab → · Contrast checker → · Palette generator →

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