#EA51DF#EA51DF

#EA51DF is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 69.1% C 0.242 H 330.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#EA51DF
RGBrgb(234, 81, 223)
HSLhsl(304, 78%, 62%)
HSVhsv(304, 65%, 92%)
CMYKcmyk(0%, 65.4%, 4.7%, 8.2%)
CIE-LABlab(60.52, 74.30, -42.86)
CIE-LCHlch(60.52, 85.78, 330.02°)
OKLaboklab(69.13% 0.2114 -0.1179)
OKLCHoklch(69.13% 0.242 330.9)
XYZxyz(50.1932, 28.7088, 72.6954)
Luminance0.2871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51DF #51EA5C
analogous
#A951EA #EA51DF #EA5193
triadic
#EA51DF #DFEA51 #51DFEA
tetradic
#EA51DF #EAA951 #51EA5C #5193EA
square
#EA51DF #EAA951 #51EA5C #5193EA
split-complementary
#EA51DF #93EA51 #51EAA9
monochromatic
#AC15A1 #E21BD4 #EA51DF #F188E9 #F7BEF3

Accessibility & contrast

On white

3.12
#EA51DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#EA51DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51DF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51DF#FFFFFF#000000##000000
##EA51DF1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#7D99DB
Tritanopia (blue-blind)
#F36291
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ea51df;
/* rgb */ color: rgb(234, 81, 223);
/* oklch */ color: oklch(69.1% 0.242 330.9);
Tailwind
colors: {
  custom: {
    50: '#f48de9',
    500: '#ea51df',
    950: '#000000',
  },
}
SCSS
$custom: #ea51df;
$custom-light: #f48de9;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51df",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 304.314,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.69129,
    "c": 0.24202,
    "h": 330.9
  },
  "luminance": 0.28705
}

Semantic roles & 50–950 ramp

primary
#EA51DF
secondary
#AFE8B3
accent
#DB1A0B
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EA51DF

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

Preview Lab → · Contrast checker → · Palette generator →

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