#E874DF#E874DF

#E874DF is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.9% C 0.192 H 330.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#E874DF
RGBrgb(232, 116, 223)
HSLhsl(305, 72%, 68%)
HSVhsv(305, 50%, 91%)
CMYKcmyk(0%, 50%, 3.9%, 9%)
CIE-LABlab(65.73, 58.85, -34.74)
CIE-LCHlch(65.73, 68.34, 329.45°)
OKLaboklab(72.89% 0.1664 -0.0949)
OKLCHoklch(72.89% 0.192 330.3)
XYZxyz(52.8429, 34.9775, 73.7657)
Luminance0.3497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E874DF #74E87D
analogous
#B774E8 #E874DF #E874A5
triadic
#E874DF #DFE874 #74DFE8
tetradic
#E874DF #E8B774 #74E87D #74A5E8
square
#E874DF #E8B774 #74E87D #74A5E8
split-complementary
#E874DF #A5E874 #74E8B7
monochromatic
#C220B5 #DF3FD3 #E874DF #F1A9EB #F9DDF7

Accessibility & contrast

On white

2.63
#E874DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#E874DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E874DF
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E874DF#FFFFFF#000000##000000
##E874DF1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E96E3
Deuteranopia (green-blind)
#90A5DC
Tritanopia (blue-blind)
#F07E9F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e874df;
/* rgb */ color: rgb(232, 116, 223);
/* oklch */ color: oklch(72.9% 0.192 330.3);
Tailwind
colors: {
  custom: {
    50: '#f2a0e9',
    500: '#e874df',
    950: '#000000',
  },
}
SCSS
$custom: #e874df;
$custom-light: #f2a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e874df",
  "rgb": {
    "r": 232,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 304.655,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72885,
    "c": 0.19156,
    "h": 330.3
  },
  "luminance": 0.34974
}

Semantic roles & 50–950 ramp

primary
#E874DF
secondary
#CAEDCD
accent
#D42112
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E874DF

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

Preview Lab → · Contrast checker → · Palette generator →

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