Skip to content
Vectorlight.net

#a400bc

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

HEX
#a400bc
RGB
164, 0, 188
HSL
292.34°, 100%, 36.86%
OKLCH
0.52 0.25 321.13
Names
—
Lists

Codes

FormatValue
HEX#a400bc
RGBrgb(164 0 188)
HSLhsl(292.34 100% 36.86%)
OKLCHoklch(0.52 0.25 321.13)
CMYKcmyk(12.77% 100% 0% 26.27%)
Android#ffa400bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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