#E871DD#E871DD

#E871DD is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.4% C 0.195 H 331.0°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#E871DD
RGBrgb(232, 113, 221)
HSLhsl(306, 72%, 68%)
HSVhsv(306, 51%, 91%)
CMYKcmyk(0%, 51.3%, 4.7%, 9%)
CIE-LABlab(65.11, 59.93, -34.59)
CIE-LCHlch(65.11, 69.19, 330.01°)
OKLaboklab(72.4% 0.1701 -0.0944)
OKLCHoklch(72.4% 0.195 331)
XYZxyz(52.2346, 34.1898, 72.2406)
Luminance0.3419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871DD #71E87C
analogous
#B771E8 #E871DD #E871A2
triadic
#E871DD #DDE871 #71DDE8
tetradic
#E871DD #E8B771 #71E87C #71A2E8
square
#E871DD #E8B771 #71E87C #71A2E8
split-complementary
#E871DD #A2E871 #71E8B7
monochromatic
#C01FB1 #DF3CD0 #E871DD #F1A6EA #F9DAF6

Accessibility & contrast

On white

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

On black

7.84
#E871DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871DD
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871DD#FFFFFF#000000##000000
##E871DD1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C94E1
Deuteranopia (green-blind)
#8FA4DA
Tritanopia (blue-blind)
#F07B9D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e871dd;
/* rgb */ color: rgb(232, 113, 221);
/* oklch */ color: oklch(72.4% 0.195 331.0);
Tailwind
colors: {
  custom: {
    50: '#f29ee8',
    500: '#e871dd',
    950: '#000000',
  },
}
SCSS
$custom: #e871dd;
$custom-light: #f29ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#e871dd",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 305.546,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.724,
    "c": 0.19457,
    "h": 331
  },
  "luminance": 0.34187
}

Semantic roles & 50–950 ramp

primary
#E871DD
secondary
#C8EDCB
accent
#D42311
background
#FFFAFE
surface
#FEF3FC
border
#D6CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E871DD

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

Preview Lab → · Contrast checker → · Palette generator →

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