Skip to content
Vectorlight.net

#a55fe2

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

HEX
#a55fe2
RGB
165, 95, 226
HSL
272.06°, 69.31%, 62.94%
OKLCH
0.62 0.2 306.17
Names
—
Lists

Codes

FormatValue
HEX#a55fe2
RGBrgb(165 95 226)
HSLhsl(272.06 69.31% 62.94%)
OKLCHoklch(0.62 0.2 306.17)
CMYKcmyk(26.99% 57.96% 0% 11.37%)
Android#ffa55fe2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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