#E042DA#E042DA

#E042DA is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 66.1% C 0.250 H 329.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#E042DA
RGBrgb(224, 66, 218)
HSLhsl(302, 72%, 57%)
HSVhsv(302, 71%, 88%)
CMYKcmyk(0%, 70.5%, 2.7%, 12.2%)
CIE-LABlab(56.89, 76.51, -45.88)
CIE-LCHlch(56.89, 89.21, 329.05°)
OKLaboklab(66.13% 0.216 -0.1267)
OKLCHoklch(66.13% 0.25 329.6)
XYZxyz(45.3433, 24.8091, 68.7165)
Luminance0.2481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042DA #42E048
analogous
#9742E0 #E042DA #E0428B
triadic
#E042DA #DAE042 #42DAE0
tetradic
#E042DA #E09742 #42E048 #428BE0
square
#E042DA #E09742 #42E048 #428BE0
split-complementary
#E042DA #8BE042 #42E097
monochromatic
#90188B #C520BE #E042DA #E977E4 #F1ABEF

Accessibility & contrast

On white

3.52
#E042DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#E042DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E042DA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E042DA#FFFFFF#000000##000000
##E042DA1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7BDE
Deuteranopia (green-blind)
#7090D6
Tritanopia (blue-blind)
#E8578A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #e042da;
/* rgb */ color: rgb(224, 66, 218);
/* oklch */ color: oklch(66.1% 0.250 329.6);
Tailwind
colors: {
  custom: {
    50: '#ee85e6',
    500: '#e042da',
    950: '#000000',
  },
}
SCSS
$custom: #e042da;
$custom-light: #ee85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e042da",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 302.278,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6613,
    "c": 0.25039,
    "h": 329.6
  },
  "luminance": 0.24806
}

Semantic roles & 50–950 ramp

primary
#E042DA
secondary
#9FDFA1
accent
#EF4039
background
#FFF8FE
surface
#FEF0FC
border
#D6CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #E042DA

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

Preview Lab → · Contrast checker → · Palette generator →

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