Skip to content
Vectorlight.net

#a45cf2

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

HEX
#a45cf2
RGB
164, 92, 242
HSL
268.8°, 85.23%, 65.49%
OKLCH
0.63 0.22 302.67
Names
—
Lists

Codes

FormatValue
HEX#a45cf2
RGBrgb(164 92 242)
HSLhsl(268.8 85.23% 65.49%)
OKLCHoklch(0.63 0.22 302.67)
CMYKcmyk(32.23% 61.98% 0% 5.1%)
Android#ffa45cf2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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