#E240E2#E240E2

#E240E2 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.7% C 0.259 H 328.0°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#E240E2
RGBrgb(226, 64, 226)
HSLhsl(300, 74%, 57%)
HSVhsv(300, 72%, 89%)
CMYKcmyk(0%, 71.7%, 0%, 11.4%)
CIE-LABlab(57.40, 78.82, -49.58)
CIE-LCHlch(57.40, 93.11, 327.83°)
OKLaboklab(66.69% 0.2199 -0.1374)
OKLCHoklch(66.69% 0.259 328)
XYZxyz(46.9243, 25.3299, 74.3544)
Luminance0.2533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E240E2 #40E240
analogous
#9140E2 #E240E2 #E24091
triadic
#E240E2 #E2E240 #40E2E2
tetradic
#E240E2 #E29140 #40E240 #4091E2
square
#E240E2 #E29140 #40E240 #4091E2
split-complementary
#E240E2 #91E240 #40E291
monochromatic
#921692 #C71EC7 #E240E2 #EA75EA #F2AAF2

Accessibility & contrast

On white

3.46
#E240E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#E240E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E240E2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E240E2#FFFFFF#000000##000000
##E240E21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7CE6
Deuteranopia (green-blind)
#6C91DE
Tritanopia (blue-blind)
#E9598E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #e240e2;
/* rgb */ color: rgb(226, 64, 226);
/* oklch */ color: oklch(66.7% 0.259 328.0);
Tailwind
colors: {
  custom: {
    50: '#ef84ec',
    500: '#e240e2',
    950: '#000000',
  },
}
SCSS
$custom: #e240e2;
$custom-light: #ef84ec;
$custom-dark: #000000;
JSON
{
  "hex": "#e240e2",
  "rgb": {
    "r": 226,
    "g": 64,
    "b": 226
  },
  "hsl": {
    "h": 300,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.66689,
    "c": 0.25928,
    "h": 328
  },
  "luminance": 0.25327
}

Semantic roles & 50–950 ramp

primary
#E240E2
secondary
#9EE09E
accent
#F03838
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #E240E2

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

Preview Lab → · Contrast checker → · Palette generator →

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