#EA42D2#EA42D2

#EA42D2 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 67.2% C 0.250 H 334.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#EA42D2
RGBrgb(234, 66, 210)
HSLhsl(309, 80%, 59%)
HSVhsv(309, 72%, 92%)
CMYKcmyk(0%, 71.8%, 10.3%, 8.2%)
CIE-LABlab(58.08, 77.51, -39.36)
CIE-LCHlch(58.08, 86.93, 333.08°)
OKLaboklab(67.16% 0.2254 -0.1077)
OKLCHoklch(67.16% 0.25 334.5)
XYZxyz(47.5132, 26.0461, 63.4853)
Luminance0.2604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA42D2 #42EA5A
analogous
#AE42EA #EA42D2 #EA427E
triadic
#EA42D2 #D2EA42 #42D2EA
tetradic
#EA42D2 #EAAE42 #42EA5A #427EEA
square
#EA42D2 #EAAE42 #42EA5A #427EEA
split-complementary
#EA42D2 #7EEA42 #42EAAE
monochromatic
#A0128C #D718BC #EA42D2 #F079DF #F6B0EC

Accessibility & contrast

On white

3.38
#EA42D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#EA42D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA42D2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA42D2#FFFFFF#000000##000000
##EA42D21.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#407CD6
Deuteranopia (green-blind)
#7C94CE
Tritanopia (blue-blind)
#F55186
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ea42d2;
/* rgb */ color: rgb(234, 66, 210);
/* oklch */ color: oklch(67.2% 0.250 334.5);
Tailwind
colors: {
  custom: {
    50: '#f586e0',
    500: '#ea42d2',
    950: '#000000',
  },
}
SCSS
$custom: #ea42d2;
$custom-light: #f586e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ea42d2",
  "rgb": {
    "r": 234,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 308.571,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.67164,
    "c": 0.24982,
    "h": 334.5
  },
  "luminance": 0.26042
}

Semantic roles & 50–950 ramp

primary
#EA42D2
secondary
#A3E5AC
accent
#F64E31
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#180C15
muted
#867D83

Preview Lab

Preview with #EA42D2

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

Preview Lab → · Contrast checker → · Palette generator →

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