Skip to content
Vectorlight.net

#a645da

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

HEX
#a645da
RGB
166, 69, 218
HSL
279.06°, 66.82%, 56.27%
OKLCH
0.59 0.22 311.25
Names
—
Lists

Codes

FormatValue
HEX#a645da
RGBrgb(166 69 218)
HSLhsl(279.06 66.82% 56.27%)
OKLCHoklch(0.59 0.22 311.25)
CMYKcmyk(23.85% 68.35% 0% 14.51%)
Android#ffa645da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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