#E042D9#E042D9

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

Color values

HEX#E042D9
RGBrgb(224, 66, 217)
HSLhsl(303, 72%, 57%)
HSVhsv(303, 71%, 88%)
CMYKcmyk(0%, 70.5%, 3.1%, 12.2%)
CIE-LABlab(56.84, 76.36, -45.40)
CIE-LCHlch(56.84, 88.83, 329.27°)
OKLaboklab(66.08% 0.2159 -0.1253)
OKLCHoklch(66.08% 0.25 329.9)
XYZxyz(45.2128, 24.7569, 68.0294)
Luminance0.2475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042D9 #42E049
analogous
#9842E0 #E042D9 #E0428A
triadic
#E042D9 #D9E042 #42D9E0
tetradic
#E042D9 #E09842 #42E049 #428AE0
square
#E042D9 #E09842 #42E049 #428AE0
split-complementary
#E042D9 #8AE042 #42E098
monochromatic
#90188B #C520BD #E042D9 #E977E4 #F1ABEE

Accessibility & contrast

On white

3.53
#E042D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#E042D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E042D9
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E042D9#FFFFFF#000000##000000
##E042D91.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7BDD
Deuteranopia (green-blind)
#7090D5
Tritanopia (blue-blind)
#E85789
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #e042d9;
/* rgb */ color: rgb(224, 66, 217);
/* oklch */ color: oklch(66.1% 0.250 329.9);
Tailwind
colors: {
  custom: {
    50: '#ee85e5',
    500: '#e042d9',
    950: '#000000',
  },
}
SCSS
$custom: #e042d9;
$custom-light: #ee85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#e042d9",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 302.658,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.66077,
    "c": 0.24966,
    "h": 329.9
  },
  "luminance": 0.24753
}

Semantic roles & 50–950 ramp

primary
#E042D9
secondary
#9FDFA2
accent
#EF4139
background
#FFF8FE
surface
#FEF0FC
border
#D6CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #E042D9

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

Preview Lab → · Contrast checker → · Palette generator →

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