#E240DF#E240DF

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

Color values

HEX#E240DF
RGBrgb(226, 64, 223)
HSLhsl(301, 74%, 57%)
HSVhsv(301, 72%, 89%)
CMYKcmyk(0%, 71.7%, 1.3%, 11.4%)
CIE-LABlab(57.24, 78.35, -48.14)
CIE-LCHlch(57.24, 91.95, 328.43°)
OKLaboklab(66.53% 0.2199 -0.1332)
OKLCHoklch(66.53% 0.257 328.8)
XYZxyz(46.5163, 25.1667, 72.2054)
Luminance0.2516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E240DF #40E243
analogous
#9440E2 #E240DF #E2408E
triadic
#E240DF #DFE240 #40DFE2
tetradic
#E240DF #E29440 #40E243 #408EE2
square
#E240DF #E29440 #40E243 #408EE2
split-complementary
#E240DF #8EE240 #40E294
monochromatic
#92168F #C71EC4 #E240DF #EA75E8 #F2AAF1

Accessibility & contrast

On white

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

On black

6.03
#E240DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E240DF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E240DF#FFFFFF#000000##000000
##E240DF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#257CE3
Deuteranopia (green-blind)
#6E91DB
Tritanopia (blue-blind)
#EA588C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e240df;
/* rgb */ color: rgb(226, 64, 223);
/* oklch */ color: oklch(66.5% 0.257 328.8);
Tailwind
colors: {
  custom: {
    50: '#ef84e9',
    500: '#e240df',
    950: '#000000',
  },
}
SCSS
$custom: #e240df;
$custom-light: #ef84e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e240df",
  "rgb": {
    "r": 226,
    "g": 64,
    "b": 223
  },
  "hsl": {
    "h": 301.111,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.66525,
    "c": 0.25708,
    "h": 328.8
  },
  "luminance": 0.25163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E240DF

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

Preview Lab → · Contrast checker → · Palette generator →

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