#EA51DB#EA51DB

#EA51DB is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.9% C 0.239 H 332.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#EA51DB
RGBrgb(234, 81, 219)
HSLhsl(306, 78%, 62%)
HSVhsv(306, 65%, 92%)
CMYKcmyk(0%, 65.4%, 6.4%, 8.2%)
CIE-LABlab(60.33, 73.69, -40.91)
CIE-LCHlch(60.33, 84.28, 330.96°)
OKLaboklab(68.93% 0.2111 -0.1122)
OKLCHoklch(68.93% 0.239 332)
XYZxyz(49.6603, 28.4956, 69.8888)
Luminance0.2849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51DB #51EA60
analogous
#AC51EA #EA51DB #EA518F
triadic
#EA51DB #DBEA51 #51DBEA
tetradic
#EA51DB #EAAC51 #51EA60 #518FEA
square
#EA51DB #EAAC51 #51EA60 #518FEA
split-complementary
#EA51DB #8FEA51 #51EAAC
monochromatic
#AC159D #E21BCF #EA51DB #F188E6 #F7BEF2

Accessibility & contrast

On white

3.14
#EA51DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#EA51DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51DB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51DB#FFFFFF#000000##000000
##EA51DB1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984DF
Deuteranopia (green-blind)
#7F99D7
Tritanopia (blue-blind)
#F3608F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ea51db;
/* rgb */ color: rgb(234, 81, 219);
/* oklch */ color: oklch(68.9% 0.239 332.0);
Tailwind
colors: {
  custom: {
    50: '#f48de6',
    500: '#ea51db',
    950: '#000000',
  },
}
SCSS
$custom: #ea51db;
$custom-light: #f48de6;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51db",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 305.882,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6893,
    "c": 0.23906,
    "h": 332
  },
  "luminance": 0.28492
}

Semantic roles & 50–950 ramp

primary
#EA51DB
secondary
#AFE8B5
accent
#DB1F0B
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EA51DB

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

Preview Lab → · Contrast checker → · Palette generator →

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