Skip to content
Vectorlight.net

#a478ba

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

HEX
#a478ba
RGB
164, 120, 186
HSL
280°, 32.35%, 60%
OKLCH
0.64 0.11 313.98
Names
—
Lists

Codes

FormatValue
HEX#a478ba
RGBrgb(164 120 186)
HSLhsl(280 32.35% 60%)
OKLCHoklch(0.64 0.11 313.98)
CMYKcmyk(11.83% 35.48% 0% 27.06%)
Android#ffa478ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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