#E242CF#E242CF

#E242CF is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.8% C 0.244 H 333.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#E242CF
RGBrgb(226, 66, 207)
HSLhsl(307, 73%, 57%)
HSVhsv(307, 71%, 89%)
CMYKcmyk(0%, 70.8%, 8.4%, 11.4%)
CIE-LABlab(56.66, 75.29, -39.98)
CIE-LCHlch(56.66, 85.24, 332.03°)
OKLaboklab(65.85% 0.2175 -0.1096)
OKLCHoklch(65.85% 0.244 333.3)
XYZxyz(44.5750, 24.5739, 61.4150)
Luminance0.2457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E242CF #42E255
analogous
#A542E2 #E242CF #E2427F
triadic
#E242CF #CFE242 #42CFE2
tetradic
#E242CF #E2A542 #42E255 #427FE2
square
#E242CF #E2A542 #42E255 #427FE2
split-complementary
#E242CF #7FE242 #42E2A5
monochromatic
#931784 #C81FB4 #E242CF #EA77DC #F2ACEA

Accessibility & contrast

On white

3.55
#E242CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#E242CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E242CF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E242CF#FFFFFF#000000##000000
##E242CF1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C79D3
Deuteranopia (green-blind)
#7790CB
Tritanopia (blue-blind)
#EC5184
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #e242cf;
/* rgb */ color: rgb(226, 66, 207);
/* oklch */ color: oklch(65.8% 0.244 333.3);
Tailwind
colors: {
  custom: {
    50: '#ef84de',
    500: '#e242cf',
    950: '#000000',
  },
}
SCSS
$custom: #e242cf;
$custom-light: #ef84de;
$custom-dark: #000000;
JSON
{
  "hex": "#e242cf",
  "rgb": {
    "r": 226,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 307.125,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65848,
    "c": 0.24352,
    "h": 333.3
  },
  "luminance": 0.2457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E242CF

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

Preview Lab → · Contrast checker → · Palette generator →

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