#EA51D1#EA51D1

#EA51D1 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.4% C 0.232 H 335.0°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#EA51D1
RGBrgb(234, 81, 209)
HSLhsl(310, 78%, 62%)
HSVhsv(310, 65%, 92%)
CMYKcmyk(0%, 65.4%, 10.7%, 8.2%)
CIE-LABlab(59.87, 72.18, -35.98)
CIE-LCHlch(59.87, 80.65, 333.50°)
OKLaboklab(68.45% 0.2101 -0.0981)
OKLCHoklch(68.45% 0.232 335)
XYZxyz(48.3832, 27.9847, 63.1626)
Luminance0.2798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51D1 #51EA6A
analogous
#B751EA #EA51D1 #EA5185
triadic
#EA51D1 #D1EA51 #51D1EA
tetradic
#EA51D1 #EAB751 #51EA6A #5185EA
square
#EA51D1 #EAB751 #51EA6A #5185EA
split-complementary
#EA51D1 #85EA51 #51EAB7
monochromatic
#AC1593 #E21BC2 #EA51D1 #F188DF #F7BEEE

Accessibility & contrast

On white

3.18
#EA51D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#EA51D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51D1
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51D1#FFFFFF#000000##000000
##EA51D11.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5182D5
Deuteranopia (green-blind)
#8398CD
Tritanopia (blue-blind)
#F55C8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ea51d1;
/* rgb */ color: rgb(234, 81, 209);
/* oklch */ color: oklch(68.4% 0.232 335.0);
Tailwind
colors: {
  custom: {
    50: '#f48cdf',
    500: '#ea51d1',
    950: '#000000',
  },
}
SCSS
$custom: #ea51d1;
$custom-light: #f48cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51d1",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 209
  },
  "hsl": {
    "h": 309.804,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.68448,
    "c": 0.23185,
    "h": 335
  },
  "luminance": 0.27981
}

Semantic roles & 50–950 ramp

primary
#EA51D1
secondary
#AFE8B8
accent
#DB2D0B
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EA51D1

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

Preview Lab → · Contrast checker → · Palette generator →

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