#EA51F2#EA51F2

#EA51F2 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 70.1% C 0.257 H 325.8°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#EA51F2
RGBrgb(234, 81, 242)
HSLhsl(297, 86%, 63%)
HSVhsv(297, 67%, 95%)
CMYKcmyk(3.3%, 66.5%, 0%, 5.1%)
CIE-LABlab(61.47, 77.35, -51.98)
CIE-LCHlch(61.47, 93.19, 326.10°)
OKLaboklab(70.12% 0.2122 -0.1443)
OKLCHoklch(70.12% 0.257 325.8)
XYZxyz(52.9000, 29.7915, 86.9512)
Luminance0.2979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51F2 #59F251
analogous
#9A51F2 #EA51F2 #F251A9
triadic
#EA51F2 #F2EA51 #51F2EA
tetradic
#EA51F2 #F29A51 #59F251 #51A9F2
square
#EA51F2 #F29A51 #59F251 #51A9F2
split-complementary
#EA51F2 #A9F251 #51F29A
monochromatic
#B20EBB #E318EE #EA51F2 #F18AF6 #F8C3FB

Accessibility & contrast

On white

3.02
#EA51F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#EA51F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51F2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51F2#FFFFFF#000000##000000
##EA51F21.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F7
Deuteranopia (green-blind)
#739BEE
Tritanopia (blue-blind)
#F06A9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ea51f2;
/* rgb */ color: rgb(234, 81, 242);
/* oklch */ color: oklch(70.1% 0.257 325.8);
Tailwind
colors: {
  custom: {
    50: '#f58df7',
    500: '#ea51f2',
    950: '#000000',
  },
}
SCSS
$custom: #ea51f2;
$custom-light: #f58df7;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51f2",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 297.019,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70123,
    "c": 0.25657,
    "h": 325.8
  },
  "luminance": 0.29788
}

Semantic roles & 50–950 ramp

primary
#EA51F2
secondary
#B6ECB3
accent
#E3030E
background
#FFF9FF
surface
#FFF1FF
border
#D7CBD7
text
#180D17
muted
#867E85

Preview Lab

Preview with #EA51F2

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

Preview Lab → · Contrast checker → · Palette generator →

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