Skip to content
Vectorlight.net

#5225ce

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

HEX
#5225ce
RGB
82, 37, 206
HSL
255.98°, 69.55%, 47.65%
OKLCH
0.45 0.23 284.14
Names
—
Lists

Codes

FormatValue
HEX#5225ce
RGBrgb(82 37 206)
HSLhsl(255.98 69.55% 47.65%)
OKLCHoklch(0.45 0.23 284.14)
CMYKcmyk(60.19% 82.04% 0% 19.22%)
Android#ff5225ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5225ce;
background-color: #5225ce;
bg-[#5225ce]