Skip to content
Vectorlight.net

#ea52cc

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

HEX
#ea52cc
RGB
234, 82, 204
HSL
311.84°, 78.35%, 61.96%
OKLCH
0.68 0.23 336.54
Names
—
Lists

Codes

FormatValue
HEX#ea52cc
RGBrgb(234 82 204)
HSLhsl(311.84 78.35% 61.96%)
OKLCHoklch(0.68 0.23 336.54)
CMYKcmyk(0% 64.96% 12.82% 8.24%)
Android#ffea52cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.19:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.57: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="#ea52cc"
Gradient stop
<stop stop-color="#ea52cc"/>
CSS variable + fill
:root { --c: #ea52cc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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