#E042DB#E042DB

#E042DB is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 66.2% C 0.251 H 329.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#E042DB
RGBrgb(224, 66, 219)
HSLhsl(302, 72%, 57%)
HSVhsv(302, 71%, 88%)
CMYKcmyk(0%, 70.5%, 2.2%, 12.2%)
CIE-LABlab(56.94, 76.66, -46.37)
CIE-LCHlch(56.94, 89.60, 328.83°)
OKLaboklab(66.18% 0.216 -0.1281)
OKLCHoklch(66.18% 0.251 329.3)
XYZxyz(45.4745, 24.8616, 69.4078)
Luminance0.2486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042DB #42E047
analogous
#9642E0 #E042DB #E0428C
triadic
#E042DB #DBE042 #42DBE0
tetradic
#E042DB #E09642 #42E047 #428CE0
square
#E042DB #E09642 #42E047 #428CE0
split-complementary
#E042DB #8CE042 #42E096
monochromatic
#90188C #C520BF #E042DB #E977E5 #F1ABEF

Accessibility & contrast

On white

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

On black

5.97
#E042DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E042DB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E042DB#FFFFFF#000000##000000
##E042DB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7BDF
Deuteranopia (green-blind)
#6F90D7
Tritanopia (blue-blind)
#E8588B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e042db;
/* rgb */ color: rgb(224, 66, 219);
/* oklch */ color: oklch(66.2% 0.251 329.3);
Tailwind
colors: {
  custom: {
    50: '#ee85e7',
    500: '#e042db',
    950: '#000000',
  },
}
SCSS
$custom: #e042db;
$custom-light: #ee85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e042db",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 301.899,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.66184,
    "c": 0.25112,
    "h": 329.3
  },
  "luminance": 0.24858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E042DB

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

Preview Lab → · Contrast checker → · Palette generator →

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