Skip to content
Vectorlight.net

#ea51f8

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#ea51f8
RGB
234, 81, 248
HSL
294.97°, 92.27%, 64.51%
OKLCH
0.7 0.26 324.3
Names
—
Lists

Codes

FormatValue
HEX#ea51f8
RGBrgb(234 81 248)
HSLhsl(294.97 92.27% 64.51%)
OKLCHoklch(0.7 0.26 324.3)
CMYKcmyk(5.65% 67.34% 0% 2.75%)
Android#ffea51f8

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.98:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.03:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#ea51f8"
Gradient stop
<stop stop-color="#ea51f8"/>
CSS variable + fill
:root { --c: #ea51f8; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #ea51f8;
background-color: #ea51f8;
bg-[#ea51f8]