#E242DC#E242DC

#E242DC is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.5% C 0.253 H 329.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#E242DC
RGBrgb(226, 66, 220)
HSLhsl(302, 73%, 57%)
HSVhsv(302, 71%, 89%)
CMYKcmyk(0%, 70.8%, 2.7%, 11.4%)
CIE-LABlab(57.30, 77.25, -46.34)
CIE-LCHlch(57.30, 90.08, 329.04°)
OKLaboklab(66.52% 0.218 -0.128)
OKLCHoklch(66.52% 0.253 329.6)
XYZxyz(46.2302, 25.2360, 70.1324)
Luminance0.2523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E242DC #42E248
analogous
#9842E2 #E242DC #E2428C
triadic
#E242DC #DCE242 #42DCE2
tetradic
#E242DC #E29842 #42E248 #428CE2
square
#E242DC #E29842 #42E248 #428CE2
split-complementary
#E242DC #8CE242 #42E298
monochromatic
#93178E #C81FC2 #E242DC #EA77E6 #F2ACF0

Accessibility & contrast

On white

3.47
#E242DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#E242DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E242DC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E242DC#FFFFFF#000000##000000
##E242DC1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7CE0
Deuteranopia (green-blind)
#7091D8
Tritanopia (blue-blind)
#EA588B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #e242dc;
/* rgb */ color: rgb(226, 66, 220);
/* oklch */ color: oklch(66.5% 0.253 329.6);
Tailwind
colors: {
  custom: {
    50: '#ef85e7',
    500: '#e242dc',
    950: '#000000',
  },
}
SCSS
$custom: #e242dc;
$custom-light: #ef85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e242dc",
  "rgb": {
    "r": 226,
    "g": 66,
    "b": 220
  },
  "hsl": {
    "h": 302.25,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.66522,
    "c": 0.25282,
    "h": 329.6
  },
  "luminance": 0.25232
}

Semantic roles & 50–950 ramp

primary
#E242DC
secondary
#9FE0A2
accent
#F03F38
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #E242DC

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

Preview Lab → · Contrast checker → · Palette generator →

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