#EA51E2#EA51E2

#EA51E2 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 69.3% C 0.244 H 330.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#EA51E2
RGBrgb(234, 81, 226)
HSLhsl(303, 78%, 62%)
HSVhsv(303, 65%, 92%)
CMYKcmyk(0%, 65.4%, 3.4%, 8.2%)
CIE-LABlab(60.67, 74.77, -44.32)
CIE-LCHlch(60.67, 86.92, 329.34°)
OKLaboklab(69.28% 0.2116 -0.1221)
OKLCHoklch(69.28% 0.244 330)
XYZxyz(50.6013, 28.8720, 74.8445)
Luminance0.2887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51E2 #51EA59
analogous
#A651EA #EA51E2 #EA5196
triadic
#EA51E2 #E2EA51 #51E2EA
tetradic
#EA51E2 #EAA651 #51EA59 #5196EA
square
#EA51E2 #EAA651 #51EA59 #5196EA
split-complementary
#EA51E2 #96EA51 #51EAA6
monochromatic
#AC15A4 #E21BD8 #EA51E2 #F188EB #F7BEF4

Accessibility & contrast

On white

3.10
#EA51E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#EA51E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51E2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51E2#FFFFFF#000000##000000
##EA51E21.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4385E6
Deuteranopia (green-blind)
#7B9ADE
Tritanopia (blue-blind)
#F26393
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ea51e2;
/* rgb */ color: rgb(234, 81, 226);
/* oklch */ color: oklch(69.3% 0.244 330.0);
Tailwind
colors: {
  custom: {
    50: '#f48deb',
    500: '#ea51e2',
    950: '#000000',
  },
}
SCSS
$custom: #ea51e2;
$custom-light: #f48deb;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51e2",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 303.137,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.69281,
    "c": 0.24427,
    "h": 330
  },
  "luminance": 0.28868
}

Semantic roles & 50–950 ramp

primary
#EA51E2
secondary
#AFE8B2
accent
#DB160B
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EA51E2

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

Preview Lab → · Contrast checker → · Palette generator →

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