#E242CD#E242CD

#E242CD is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.7% C 0.242 H 333.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#E242CD
RGBrgb(226, 66, 205)
HSLhsl(308, 73%, 57%)
HSVhsv(308, 71%, 89%)
CMYKcmyk(0%, 70.8%, 9.3%, 11.4%)
CIE-LABlab(56.56, 74.99, -38.98)
CIE-LCHlch(56.56, 84.52, 332.53°)
OKLaboklab(65.75% 0.2173 -0.1067)
OKLCHoklch(65.75% 0.242 333.8)
XYZxyz(44.3320, 24.4767, 60.1354)
Luminance0.2447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E242CD #42E257
analogous
#A742E2 #E242CD #E2427D
triadic
#E242CD #CDE242 #42CDE2
tetradic
#E242CD #E2A742 #42E257 #427DE2
square
#E242CD #E2A742 #42E257 #427DE2
split-complementary
#E242CD #7DE242 #42E2A7
monochromatic
#931783 #C81FB2 #E242CD #EA77DB #F2ACE9

Accessibility & contrast

On white

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

On black

5.89
#E242CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E242CD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E242CD#FFFFFF#000000##000000
##E242CD1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D1
Deuteranopia (green-blind)
#7890C9
Tritanopia (blue-blind)
#EC5083
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #e242cd;
/* rgb */ color: rgb(226, 66, 205);
/* oklch */ color: oklch(65.7% 0.242 333.8);
Tailwind
colors: {
  custom: {
    50: '#ef84dc',
    500: '#e242cd',
    950: '#000000',
  },
}
SCSS
$custom: #e242cd;
$custom-light: #ef84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#e242cd",
  "rgb": {
    "r": 226,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 307.875,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65747,
    "c": 0.24212,
    "h": 333.8
  },
  "luminance": 0.24473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E242CD

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

Preview Lab → · Contrast checker → · Palette generator →

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