#E871DB#E871DB

#E871DB is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.3% C 0.193 H 331.6°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#E871DB
RGBrgb(232, 113, 219)
HSLhsl(307, 72%, 68%)
HSVhsv(307, 51%, 91%)
CMYKcmyk(0%, 51.3%, 5.6%, 9%)
CIE-LABlab(65.03, 59.60, -33.60)
CIE-LCHlch(65.03, 68.42, 330.59°)
OKLaboklab(72.31% 0.1698 -0.0916)
OKLCHoklch(72.31% 0.193 331.6)
XYZxyz(51.9698, 34.0839, 70.8456)
Luminance0.3408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871DB #71E87E
analogous
#BA71E8 #E871DB #E8719F
triadic
#E871DB #DBE871 #71DBE8
tetradic
#E871DB #E8BA71 #71E87E #719FE8
square
#E871DB #E8BA71 #71E87E #719FE8
split-complementary
#E871DB #9FE871 #71E8BA
monochromatic
#C01FAE #DF3CCE #E871DB #F1A6E8 #F9DAF6

Accessibility & contrast

On white

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

On black

7.82
#E871DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871DB
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871DB#FFFFFF#000000##000000
##E871DB1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e871db;
/* rgb */ color: rgb(232, 113, 219);
/* oklch */ color: oklch(72.3% 0.193 331.6);
Tailwind
colors: {
  custom: {
    50: '#f29ee6',
    500: '#e871db',
    950: '#000000',
  },
}
SCSS
$custom: #e871db;
$custom-light: #f29ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#e871db",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 306.555,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72311,
    "c": 0.19292,
    "h": 331.6
  },
  "luminance": 0.34081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E871DB

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

Preview Lab → · Contrast checker → · Palette generator →

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