#E240E3#E240E3

#E240E3 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.7% C 0.260 H 327.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#E240E3
RGBrgb(226, 64, 227)
HSLhsl(300, 74%, 57%)
HSVhsv(300, 72%, 89%)
CMYKcmyk(0.4%, 71.8%, 0%, 11%)
CIE-LABlab(57.45, 78.97, -50.06)
CIE-LCHlch(57.45, 93.50, 327.63°)
OKLaboklab(66.74% 0.2199 -0.1388)
OKLCHoklch(66.74% 0.26 327.7)
XYZxyz(47.0619, 25.3850, 75.0792)
Luminance0.2538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E240E3 #41E340
analogous
#9140E3 #E240E3 #E34093
triadic
#E240E3 #E3E240 #40E3E2
tetradic
#E240E3 #E39140 #41E340 #4093E3
square
#E240E3 #E39140 #41E340 #4093E3
split-complementary
#E240E3 #93E340 #40E391
monochromatic
#921693 #C71DC8 #E240E3 #EA75EB #F2ABF3

Accessibility & contrast

On white

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

On black

6.08
#E240E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E240E3
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E240E3#FFFFFF#000000##000000
##E240E31.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7DE7
Deuteranopia (green-blind)
#6B91DF
Tritanopia (blue-blind)
#E95A8E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #e240e3;
/* rgb */ color: rgb(226, 64, 227);
/* oklch */ color: oklch(66.7% 0.260 327.7);
Tailwind
colors: {
  custom: {
    50: '#ef84ec',
    500: '#e240e3',
    950: '#000000',
  },
}
SCSS
$custom: #e240e3;
$custom-light: #ef84ec;
$custom-dark: #000000;
JSON
{
  "hex": "#e240e3",
  "rgb": {
    "r": 226,
    "g": 64,
    "b": 227
  },
  "hsl": {
    "h": 299.632,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.66744,
    "c": 0.26001,
    "h": 327.7
  },
  "luminance": 0.25382
}

Semantic roles & 50–950 ramp

primary
#E240E3
secondary
#9FE19E
accent
#F13738
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #E240E3

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

Preview Lab → · Contrast checker → · Palette generator →

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