#E242DB#E242DB

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

Color values

HEX#E242DB
RGBrgb(226, 66, 219)
HSLhsl(303, 73%, 57%)
HSVhsv(303, 71%, 89%)
CMYKcmyk(0%, 70.8%, 3.1%, 11.4%)
CIE-LABlab(57.25, 77.09, -45.85)
CIE-LCHlch(57.25, 89.70, 329.26°)
OKLaboklab(66.47% 0.218 -0.1266)
OKLCHoklch(66.47% 0.252 329.9)
XYZxyz(46.0982, 25.1832, 69.4370)
Luminance0.2518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E242DB #42E249
analogous
#9942E2 #E242DB #E2428B
triadic
#E242DB #DBE242 #42DBE2
tetradic
#E242DB #E29942 #42E249 #428BE2
square
#E242DB #E29942 #42E249 #428BE2
split-complementary
#E242DB #8BE242 #42E299
monochromatic
#93178E #C81FC1 #E242DB #EA77E5 #F2ACEF

Accessibility & contrast

On white

3.48
#E242DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#E242DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E242DB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E242DB#FFFFFF#000000##000000
##E242DB1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CDF
Deuteranopia (green-blind)
#7191D7
Tritanopia (blue-blind)
#EA578B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e242db;
/* rgb */ color: rgb(226, 66, 219);
/* oklch */ color: oklch(66.5% 0.252 329.9);
Tailwind
colors: {
  custom: {
    50: '#ef85e7',
    500: '#e242db',
    950: '#000000',
  },
}
SCSS
$custom: #e242db;
$custom-light: #ef85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e242db",
  "rgb": {
    "r": 226,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 302.625,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.66469,
    "c": 0.25209,
    "h": 329.9
  },
  "luminance": 0.2518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E242DB

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

Preview Lab → · Contrast checker → · Palette generator →

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