#EA42E2#EA42E2

#EA42E2 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 68.0% C 0.261 H 330.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#EA42E2
RGBrgb(234, 66, 226)
HSLhsl(303, 80%, 59%)
HSVhsv(303, 72%, 92%)
CMYKcmyk(0%, 71.8%, 3.4%, 8.2%)
CIE-LABlab(58.87, 79.87, -47.17)
CIE-LCHlch(58.87, 92.75, 329.44°)
OKLaboklab(67.98% 0.2262 -0.1302)
OKLCHoklch(67.98% 0.261 330.1)
XYZxyz(49.6071, 26.8837, 74.5131)
Luminance0.2688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA42E2 #42EA4A
analogous
#9E42EA #EA42E2 #EA428E
triadic
#EA42E2 #E2EA42 #42E2EA
tetradic
#EA42E2 #EA9E42 #42EA4A #428EEA
square
#EA42E2 #EA9E42 #42EA4A #428EEA
split-complementary
#EA42E2 #8EEA42 #42EA9E
monochromatic
#A01299 #D718CE #EA42E2 #F079EA #F6B0F3

Accessibility & contrast

On white

3.29
#EA42E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#EA42E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA42E2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA42E2#FFFFFF#000000##000000
##EA42E21.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7FE6
Deuteranopia (green-blind)
#7496DE
Tritanopia (blue-blind)
#F3588F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ea42e2;
/* rgb */ color: rgb(234, 66, 226);
/* oklch */ color: oklch(68.0% 0.261 330.1);
Tailwind
colors: {
  custom: {
    50: '#f586eb',
    500: '#ea42e2',
    950: '#000000',
  },
}
SCSS
$custom: #ea42e2;
$custom-light: #f586eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ea42e2",
  "rgb": {
    "r": 234,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 302.857,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.67984,
    "c": 0.26099,
    "h": 330.1
  },
  "luminance": 0.2688
}

Semantic roles & 50–950 ramp

primary
#EA42E2
secondary
#A3E5A6
accent
#F63B31
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#180C16
muted
#867D84

Preview Lab

Preview with #EA42E2

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

Preview Lab → · Contrast checker → · Palette generator →

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