Skip to content
Vectorlight.net

#522cec

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

HEX
#522cec
RGB
82, 44, 236
HSL
251.88°, 83.48%, 54.9%
OKLCH
0.49 0.26 279.75
Names
—
Lists

Codes

FormatValue
HEX#522cec
RGBrgb(82 44 236)
HSLhsl(251.88 83.48% 54.9%)
OKLCHoklch(0.49 0.26 279.75)
CMYKcmyk(65.25% 81.36% 0% 7.45%)
Android#ff522cec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#522cec"
Gradient stop
<stop stop-color="#522cec"/>
CSS variable + fill
:root { --c: #522cec; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #522cec;
background-color: #522cec;
bg-[#522cec]