Skip to content
Vectorlight.net

#a431df

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

HEX
#a431df
RGB
164, 49, 223
HSL
279.66°, 73.11%, 53.33%
OKLCH
0.57 0.25 310.7
Names
—
Lists

Codes

FormatValue
HEX#a431df
RGBrgb(164 49 223)
HSLhsl(279.66 73.11% 53.33%)
OKLCHoklch(0.57 0.25 310.7)
CMYKcmyk(26.46% 78.03% 0% 12.55%)
Android#ffa431df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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