#E870DC#E870DC

#E870DC is a light, vivid purple. Relative luminance 0.339; OKLCH L 72.2% C 0.195 H 331.3°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#E870DC
RGBrgb(232, 112, 220)
HSLhsl(306, 72%, 67%)
HSVhsv(306, 52%, 91%)
CMYKcmyk(0%, 51.7%, 5.2%, 9%)
CIE-LABlab(64.89, 60.23, -34.37)
CIE-LCHlch(64.89, 69.35, 330.29°)
OKLaboklab(72.22% 0.1713 -0.0938)
OKLCHoklch(72.22% 0.195 331.3)
XYZxyz(51.9908, 33.9148, 71.5041)
Luminance0.3391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E870DC #70E87C
analogous
#B870E8 #E870DC #E870A0
triadic
#E870DC #DCE870 #70DCE8
tetradic
#E870DC #E8B870 #70E87C #70A0E8
square
#E870DC #E8B870 #70E87C #70A0E8
split-complementary
#E870DC #A0E870 #70E8B8
monochromatic
#BF1FAF #E03BCF #E870DC #F0A5E9 #F9D9F6

Accessibility & contrast

On white

2.70
#E870DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#E870DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E870DC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E870DC#FFFFFF#000000##000000
##E870DC1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93E0
Deuteranopia (green-blind)
#8FA4D9
Tritanopia (blue-blind)
#F07A9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e870dc;
/* rgb */ color: rgb(232, 112, 220);
/* oklch */ color: oklch(72.2% 0.195 331.3);
Tailwind
colors: {
  custom: {
    50: '#f29ee7',
    500: '#e870dc',
    950: '#000000',
  },
}
SCSS
$custom: #e870dc;
$custom-light: #f29ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#e870dc",
  "rgb": {
    "r": 232,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 306,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72225,
    "c": 0.1953,
    "h": 331.3
  },
  "luminance": 0.33911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E870DC

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

Preview Lab → · Contrast checker → · Palette generator →

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