#E240DE#E240DE

#E240DE is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.5% C 0.256 H 329.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#E240DE
RGBrgb(226, 64, 222)
HSLhsl(301, 74%, 57%)
HSVhsv(301, 72%, 89%)
CMYKcmyk(0%, 71.7%, 1.8%, 11.4%)
CIE-LABlab(57.19, 78.19, -47.65)
CIE-LCHlch(57.19, 91.57, 328.64°)
OKLaboklab(66.47% 0.2199 -0.1318)
OKLCHoklch(66.47% 0.256 329.1)
XYZxyz(46.3818, 25.1129, 71.4975)
Luminance0.2511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E240DE #40E244
analogous
#9540E2 #E240DE #E2408D
triadic
#E240DE #DEE240 #40DEE2
tetradic
#E240DE #E29540 #40E244 #408DE2
square
#E240DE #E29540 #40E244 #408DE2
split-complementary
#E240DE #8DE240 #40E295
monochromatic
#92168E #C71EC2 #E240DE #EA75E7 #F2AAF0

Accessibility & contrast

On white

3.49
#E240DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#E240DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E240DE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E240DE#FFFFFF#000000##000000
##E240DE1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#277CE2
Deuteranopia (green-blind)
#6E91DA
Tritanopia (blue-blind)
#EA578C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e240de;
/* rgb */ color: rgb(226, 64, 222);
/* oklch */ color: oklch(66.5% 0.256 329.1);
Tailwind
colors: {
  custom: {
    50: '#ef84e9',
    500: '#e240de',
    950: '#000000',
  },
}
SCSS
$custom: #e240de;
$custom-light: #ef84e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e240de",
  "rgb": {
    "r": 226,
    "g": 64,
    "b": 222
  },
  "hsl": {
    "h": 301.481,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6647,
    "c": 0.25635,
    "h": 329.1
  },
  "luminance": 0.25109
}

Semantic roles & 50–950 ramp

primary
#E240DE
secondary
#9EE09F
accent
#F03C38
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #E240DE

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

Preview Lab → · Contrast checker → · Palette generator →

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