#E242CE#E242CE

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

Color values

HEX#E242CE
RGBrgb(226, 66, 206)
HSLhsl(308, 73%, 57%)
HSVhsv(308, 71%, 89%)
CMYKcmyk(0%, 70.8%, 8.8%, 11.4%)
CIE-LABlab(56.61, 75.14, -39.48)
CIE-LCHlch(56.61, 84.88, 332.28°)
OKLaboklab(65.8% 0.2174 -0.1082)
OKLCHoklch(65.8% 0.243 333.5)
XYZxyz(44.4531, 24.5252, 60.7731)
Luminance0.2452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E242CE #42E256
analogous
#A642E2 #E242CE #E2427E
triadic
#E242CE #CEE242 #42CEE2
tetradic
#E242CE #E2A642 #42E256 #427EE2
square
#E242CE #E2A642 #42E256 #427EE2
split-complementary
#E242CE #7EE242 #42E2A6
monochromatic
#931783 #C81FB3 #E242CE #EA77DC #F2ACEA

Accessibility & contrast

On white

3.56
#E242CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#E242CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E242CE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E242CE#FFFFFF#000000##000000
##E242CE1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D79D2
Deuteranopia (green-blind)
#7790CA
Tritanopia (blue-blind)
#EC5183
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #e242ce;
/* rgb */ color: rgb(226, 66, 206);
/* oklch */ color: oklch(65.8% 0.243 333.5);
Tailwind
colors: {
  custom: {
    50: '#ef84dd',
    500: '#e242ce',
    950: '#000000',
  },
}
SCSS
$custom: #e242ce;
$custom-light: #ef84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#e242ce",
  "rgb": {
    "r": 226,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 307.5,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65798,
    "c": 0.24282,
    "h": 333.5
  },
  "luminance": 0.24521
}

Semantic roles & 50–950 ramp

primary
#E242CE
secondary
#9FE0A8
accent
#F04F38
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #E242CE

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

Preview Lab → · Contrast checker → · Palette generator →

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