#E871DC#E871DC

#E871DC is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.4% C 0.194 H 331.3°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#E871DC
RGBrgb(232, 113, 220)
HSLhsl(306, 72%, 68%)
HSVhsv(306, 51%, 91%)
CMYKcmyk(0%, 51.3%, 5.2%, 9%)
CIE-LABlab(65.07, 59.76, -34.09)
CIE-LCHlch(65.07, 68.80, 330.30°)
OKLaboklab(72.36% 0.17 -0.093)
OKLCHoklch(72.36% 0.194 331.3)
XYZxyz(52.1018, 34.1367, 71.5410)
Luminance0.3413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871DC #71E87D
analogous
#B871E8 #E871DC #E871A1
triadic
#E871DC #DCE871 #71DCE8
tetradic
#E871DC #E8B871 #71E87D #71A1E8
square
#E871DC #E8B871 #71E87D #71A1E8
split-complementary
#E871DC #A1E871 #71E8B8
monochromatic
#C01FAF #DF3CCF #E871DC #F1A6E9 #F9DAF6

Accessibility & contrast

On white

2.68
#E871DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#E871DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871DC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871DC#FFFFFF#000000##000000
##E871DC1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93E0
Deuteranopia (green-blind)
#8FA4D9
Tritanopia (blue-blind)
#F07A9D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e871dc;
/* rgb */ color: rgb(232, 113, 220);
/* oklch */ color: oklch(72.4% 0.194 331.3);
Tailwind
colors: {
  custom: {
    50: '#f29ee7',
    500: '#e871dc',
    950: '#000000',
  },
}
SCSS
$custom: #e871dc;
$custom-light: #f29ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#e871dc",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 306.05,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72355,
    "c": 0.19375,
    "h": 331.3
  },
  "luminance": 0.34133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E871DC

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

Preview Lab → · Contrast checker → · Palette generator →

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