Skip to content
Vectorlight.net

#a45fba

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

HEX
#a45fba
RGB
164, 95, 186
HSL
285.49°, 39.74%, 55.1%
OKLCH
0.6 0.15 317.55
Names
—
Lists

Codes

FormatValue
HEX#a45fba
RGBrgb(164 95 186)
HSLhsl(285.49 39.74% 55.1%)
OKLCHoklch(0.6 0.15 317.55)
CMYKcmyk(11.83% 48.92% 0% 27.06%)
Android#ffa45fba

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="#a45fba"
Gradient stop
<stop stop-color="#a45fba"/>
CSS variable + fill
:root { --c: #a45fba; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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