#EE42E1#EE42E1

#EE42E1 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 68.5% C 0.262 H 331.4°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#EE42E1
RGBrgb(238, 66, 225)
HSLhsl(305, 83%, 60%)
HSVhsv(305, 72%, 93%)
CMYKcmyk(0%, 72.3%, 5.5%, 6.7%)
CIE-LABlab(59.45, 80.56, -45.65)
CIE-LCHlch(59.45, 92.59, 330.46°)
OKLaboklab(68.51% 0.2301 -0.1257)
OKLCHoklch(68.51% 0.262 331.4)
XYZxyz(50.7987, 27.5139, 73.8548)
Luminance0.2751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EE42E1 #42EE4F
analogous
#A542EE #EE42E1 #EE428B
triadic
#EE42E1 #E1EE42 #42E1EE
tetradic
#EE42E1 #EEA542 #42EE4F #428BEE
square
#EE42E1 #EEA542 #42EE4F #428BEE
split-complementary
#EE42E1 #8BEE42 #42EEA5
monochromatic
#A70F9B #DF14CF #EE42E1 #F37AEA #F8B2F3

Accessibility & contrast

On white

3.23
#EE42E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#EE42E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EE42E1
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EE42E1#FFFFFF#000000##000000
##EE42E11.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3380E5
Deuteranopia (green-blind)
#7898DD
Tritanopia (blue-blind)
#F8578E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ee42e1;
/* rgb */ color: rgb(238, 66, 225);
/* oklch */ color: oklch(68.5% 0.262 331.4);
Tailwind
colors: {
  custom: {
    50: '#f886eb',
    500: '#ee42e1',
    950: '#000000',
  },
}
SCSS
$custom: #ee42e1;
$custom-light: #f886eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ee42e1",
  "rgb": {
    "r": 238,
    "g": 66,
    "b": 225
  },
  "hsl": {
    "h": 304.535,
    "s": 83.495,
    "l": 59.608
  },
  "oklch": {
    "l": 0.68505,
    "c": 0.26221,
    "h": 331.4
  },
  "luminance": 0.2751
}

Semantic roles & 50–950 ramp

primary
#EE42E1
secondary
#A5E7AA
accent
#FA3D2E
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#180C16
muted
#867D84

Preview Lab

Preview with #EE42E1

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

Preview Lab → · Contrast checker → · Palette generator →

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