Skip to content
Vectorlight.net

#a45cd8

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

HEX
#a45cd8
RGB
164, 92, 216
HSL
274.84°, 61.39%, 60.39%
OKLCH
0.61 0.19 308.64
Names
—
Lists

Codes

FormatValue
HEX#a45cd8
RGBrgb(164 92 216)
HSLhsl(274.84 61.39% 60.39%)
OKLCHoklch(0.61 0.19 308.64)
CMYKcmyk(24.07% 57.41% 0% 15.29%)
Android#ffa45cd8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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