#E240E4#E240E4

#E240E4 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.8% C 0.261 H 327.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#E240E4
RGBrgb(226, 64, 228)
HSLhsl(299, 75%, 57%)
HSVhsv(299, 72%, 89%)
CMYKcmyk(0.9%, 71.9%, 0%, 10.6%)
CIE-LABlab(57.50, 79.13, -50.53)
CIE-LCHlch(57.50, 93.89, 327.44°)
OKLaboklab(66.8% 0.2199 -0.1401)
OKLCHoklch(66.8% 0.261 327.5)
XYZxyz(47.2003, 25.4403, 75.8082)
Luminance0.2544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E240E4 #42E440
analogous
#9040E4 #E240E4 #E44094
triadic
#E240E4 #E4E240 #40E4E2
tetradic
#E240E4 #E49040 #42E440 #4094E4
square
#E240E4 #E49040 #42E440 #4094E4
split-complementary
#E240E4 #94E440 #40E490
monochromatic
#931595 #C81DCA #E240E4 #EA76EC #F2ABF3

Accessibility & contrast

On white

3.45
#E240E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#E240E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E240E4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E240E4#FFFFFF#000000##000000
##E240E41.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7DE8
Deuteranopia (green-blind)
#6B91E0
Tritanopia (blue-blind)
#E95A8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #e240e4;
/* rgb */ color: rgb(226, 64, 228);
/* oklch */ color: oklch(66.8% 0.261 327.5);
Tailwind
colors: {
  custom: {
    50: '#ef84ed',
    500: '#e240e4',
    950: '#000000',
  },
}
SCSS
$custom: #e240e4;
$custom-light: #ef84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#e240e4",
  "rgb": {
    "r": 226,
    "g": 64,
    "b": 228
  },
  "hsl": {
    "h": 299.268,
    "s": 75.229,
    "l": 57.255
  },
  "oklch": {
    "l": 0.66799,
    "c": 0.26074,
    "h": 327.5
  },
  "luminance": 0.25437
}

Semantic roles & 50–950 ramp

primary
#E240E4
secondary
#9FE19F
accent
#F23638
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #E240E4

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

Preview Lab → · Contrast checker → · Palette generator →

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