#EA42E1#EA42E1

#EA42E1 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.9% C 0.260 H 330.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#EA42E1
RGBrgb(234, 66, 225)
HSLhsl(303, 80%, 59%)
HSVhsv(303, 72%, 92%)
CMYKcmyk(0%, 71.8%, 3.8%, 8.2%)
CIE-LABlab(58.82, 79.72, -46.68)
CIE-LCHlch(58.82, 92.38, 329.65°)
OKLaboklab(67.93% 0.2262 -0.1288)
OKLCHoklch(67.93% 0.26 330.3)
XYZxyz(49.4703, 26.8290, 73.7925)
Luminance0.2682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA42E1 #42EA4B
analogous
#9F42EA #EA42E1 #EA428D
triadic
#EA42E1 #E1EA42 #42E1EA
tetradic
#EA42E1 #EA9F42 #42EA4B #428DEA
square
#EA42E1 #EA9F42 #42EA4B #428DEA
split-complementary
#EA42E1 #8DEA42 #42EA9F
monochromatic
#A01298 #D718CD #EA42E1 #F079EA #F6B0F2

Accessibility & contrast

On white

3.30
#EA42E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#EA42E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA42E1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA42E1#FFFFFF#000000##000000
##EA42E11.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7FE5
Deuteranopia (green-blind)
#7596DD
Tritanopia (blue-blind)
#F3588E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ea42e1;
/* rgb */ color: rgb(234, 66, 225);
/* oklch */ color: oklch(67.9% 0.260 330.3);
Tailwind
colors: {
  custom: {
    50: '#f586eb',
    500: '#ea42e1',
    950: '#000000',
  },
}
SCSS
$custom: #ea42e1;
$custom-light: #f586eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ea42e1",
  "rgb": {
    "r": 234,
    "g": 66,
    "b": 225
  },
  "hsl": {
    "h": 303.214,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.67931,
    "c": 0.26028,
    "h": 330.3
  },
  "luminance": 0.26825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA42E1

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

Preview Lab → · Contrast checker → · Palette generator →

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