#EE42EE#EE42EE

#EE42EE is a light, highly saturated purple. Relative luminance 0.282; OKLCH L 69.2% C 0.271 H 328.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#EE42EE
RGBrgb(238, 66, 238)
HSLhsl(300, 83%, 60%)
HSVhsv(300, 72%, 93%)
CMYKcmyk(0%, 72.3%, 0%, 6.7%)
CIE-LABlab(60.11, 82.53, -51.87)
CIE-LCHlch(60.11, 97.48, 327.85°)
OKLaboklab(69.2% 0.2303 -0.1437)
OKLCHoklch(69.2% 0.271 328)
XYZxyz(52.6401, 28.2505, 83.5527)
Luminance0.2825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EE42EE #42EE42
analogous
#9842EE #EE42EE #EE4298
triadic
#EE42EE #EEEE42 #42EEEE
tetradic
#EE42EE #EE9842 #42EE42 #4298EE
square
#EE42EE #EE9842 #42EE42 #4298EE
split-complementary
#EE42EE #98EE42 #42EE98
monochromatic
#A70FA7 #DF14DF #EE42EE #F37AF3 #F8B2F8

Accessibility & contrast

On white

3.16
#EE42EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#EE42EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EE42EE
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EE42EE#FFFFFF#000000##000000
##EE42EE1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D83F3
Deuteranopia (green-blind)
#7199EA
Tritanopia (blue-blind)
#F55D95
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ee42ee;
/* rgb */ color: rgb(238, 66, 238);
/* oklch */ color: oklch(69.2% 0.271 328.0);
Tailwind
colors: {
  custom: {
    50: '#f887f4',
    500: '#ee42ee',
    950: '#000000',
  },
}
SCSS
$custom: #ee42ee;
$custom-light: #f887f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ee42ee",
  "rgb": {
    "r": 238,
    "g": 66,
    "b": 238
  },
  "hsl": {
    "h": 300,
    "s": 83.495,
    "l": 59.608
  },
  "oklch": {
    "l": 0.69198,
    "c": 0.27147,
    "h": 328
  },
  "luminance": 0.28247
}

Semantic roles & 50–950 ramp

primary
#EE42EE
secondary
#A5E7A5
accent
#FA2E2E
background
#FFF8FF
surface
#FFF0FE
border
#D7CBD6
text
#180D17
muted
#867D85

Preview Lab

Preview with #EE42EE

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

Preview Lab → · Contrast checker → · Palette generator →

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