#E240CE#E240CE

#E240CE is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.6% C 0.245 H 333.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#E240CE
RGBrgb(226, 64, 206)
HSLhsl(307, 74%, 57%)
HSVhsv(307, 72%, 89%)
CMYKcmyk(0%, 71.7%, 8.8%, 11.4%)
CIE-LABlab(56.38, 75.78, -39.84)
CIE-LCHlch(56.38, 85.62, 332.27°)
OKLaboklab(65.63% 0.2193 -0.1092)
OKLCHoklch(65.63% 0.245 333.5)
XYZxyz(44.3383, 24.2955, 60.7349)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E240CE #40E254
analogous
#A540E2 #E240CE #E2407D
triadic
#E240CE #CEE240 #40CEE2
tetradic
#E240CE #E2A540 #40E254 #407DE2
square
#E240CE #E2A540 #40E254 #407DE2
split-complementary
#E240CE #7DE240 #40E2A5
monochromatic
#921682 #C71EB2 #E240CE #EA75DC #F2AAE9

Accessibility & contrast

On white

3.58
#E240CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#E240CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E240CE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E240CE#FFFFFF#000000##000000
##E240CE1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D2
Deuteranopia (green-blind)
#768FCA
Tritanopia (blue-blind)
#EC4F83
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #e240ce;
/* rgb */ color: rgb(226, 64, 206);
/* oklch */ color: oklch(65.6% 0.245 333.5);
Tailwind
colors: {
  custom: {
    50: '#ef84dd',
    500: '#e240ce',
    950: '#000000',
  },
}
SCSS
$custom: #e240ce;
$custom-light: #ef84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#e240ce",
  "rgb": {
    "r": 226,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 307.407,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.65634,
    "c": 0.24496,
    "h": 333.5
  },
  "luminance": 0.24292
}

Semantic roles & 50–950 ramp

primary
#E240CE
secondary
#9EE0A6
accent
#F04E38
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #E240CE

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

Preview Lab → · Contrast checker → · Palette generator →

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