Skip to content
Vectorlight.net

#a552e4

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

HEX
#a552e4
RGB
165, 82, 228
HSL
274.11°, 73%, 60.78%
OKLCH
0.61 0.22 307.26
Names
—
Lists

Codes

FormatValue
HEX#a552e4
RGBrgb(165 82 228)
HSLhsl(274.11 73% 60.78%)
OKLCHoklch(0.61 0.22 307.26)
CMYKcmyk(27.63% 64.04% 0% 10.59%)
Android#ffa552e4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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