#E874DC#E874DC

#E874DC is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.8% C 0.189 H 331.3°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#E874DC
RGBrgb(232, 116, 220)
HSLhsl(306, 72%, 68%)
HSVhsv(306, 50%, 91%)
CMYKcmyk(0%, 50%, 5.2%, 9%)
CIE-LABlab(65.61, 58.34, -33.26)
CIE-LCHlch(65.61, 67.16, 330.31°)
OKLaboklab(72.75% 0.1659 -0.0907)
OKLCHoklch(72.75% 0.189 331.3)
XYZxyz(52.4420, 34.8172, 71.6545)
Luminance0.3481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E874DC #74E880
analogous
#BA74E8 #E874DC #E874A2
triadic
#E874DC #DCE874 #74DCE8
tetradic
#E874DC #E8BA74 #74E880 #74A2E8
square
#E874DC #E8BA74 #74E880 #74A2E8
split-complementary
#E874DC #A2E874 #74E8BA
monochromatic
#C220B1 #DF3FCF #E874DC #F1A9E9 #F9DDF6

Accessibility & contrast

On white

2.64
#E874DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#E874DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E874DC
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E874DC#FFFFFF#000000##000000
##E874DC1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95DF
Deuteranopia (green-blind)
#91A5D9
Tritanopia (blue-blind)
#F07D9E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e874dc;
/* rgb */ color: rgb(232, 116, 220);
/* oklch */ color: oklch(72.8% 0.189 331.3);
Tailwind
colors: {
  custom: {
    50: '#f2a0e7',
    500: '#e874dc',
    950: '#000000',
  },
}
SCSS
$custom: #e874dc;
$custom-light: #f2a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e874dc",
  "rgb": {
    "r": 232,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 306.207,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72751,
    "c": 0.18906,
    "h": 331.3
  },
  "luminance": 0.34814
}

Semantic roles & 50–950 ramp

primary
#E874DC
secondary
#CAEDCE
accent
#D42612
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E874DC

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

Preview Lab → · Contrast checker → · Palette generator →

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