#EA51DC#EA51DC

#EA51DC is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 69.0% C 0.240 H 331.7°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#EA51DC
RGBrgb(234, 81, 220)
HSLhsl(305, 78%, 62%)
HSVhsv(305, 65%, 92%)
CMYKcmyk(0%, 65.4%, 6%, 8.2%)
CIE-LABlab(60.38, 73.84, -41.40)
CIE-LCHlch(60.38, 84.65, 330.72°)
OKLaboklab(68.98% 0.2112 -0.1136)
OKLCHoklch(68.98% 0.24 331.7)
XYZxyz(49.7924, 28.5484, 70.5842)
Luminance0.2854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51DC #51EA5F
analogous
#AC51EA #EA51DC #EA5190
triadic
#EA51DC #DCEA51 #51DCEA
tetradic
#EA51DC #EAAC51 #51EA5F #5190EA
square
#EA51DC #EAAC51 #51EA5F #5190EA
split-complementary
#EA51DC #90EA51 #51EAAC
monochromatic
#AC159E #E21BD0 #EA51DC #F188E7 #F7BEF2

Accessibility & contrast

On white

3.13
#EA51DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#EA51DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51DC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51DC#FFFFFF#000000##000000
##EA51DC1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E0
Deuteranopia (green-blind)
#7E99D8
Tritanopia (blue-blind)
#F36090
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ea51dc;
/* rgb */ color: rgb(234, 81, 220);
/* oklch */ color: oklch(69.0% 0.240 331.7);
Tailwind
colors: {
  custom: {
    50: '#f48de7',
    500: '#ea51dc',
    950: '#000000',
  },
}
SCSS
$custom: #ea51dc;
$custom-light: #f48de7;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51dc",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 305.49,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6898,
    "c": 0.2398,
    "h": 331.7
  },
  "luminance": 0.28545
}

Semantic roles & 50–950 ramp

primary
#EA51DC
secondary
#AFE8B4
accent
#DB1E0B
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EA51DC

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

Preview Lab → · Contrast checker → · Palette generator →

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