Skip to content
Vectorlight.net

#ea52dc

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

HEX
#ea52dc
RGB
234, 82, 220
HSL
305.53°, 78.35%, 61.96%
OKLCH
0.69 0.24 331.71
Names
—
Lists

Codes

FormatValue
HEX#ea52dc
RGBrgb(234 82 220)
HSLhsl(305.53 78.35% 61.96%)
OKLCHoklch(0.69 0.24 331.71)
CMYKcmyk(0% 64.96% 5.98% 8.24%)
Android#ffea52dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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