Skip to content
Vectorlight.net

#a370df

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

HEX
#a370df
RGB
163, 112, 223
HSL
267.57°, 63.43%, 65.69%
OKLCH
0.64 0.17 303.28
Names
—
Lists

Codes

FormatValue
HEX#a370df
RGBrgb(163 112 223)
HSLhsl(267.57 63.43% 65.69%)
OKLCHoklch(0.64 0.17 303.28)
CMYKcmyk(26.91% 49.78% 0% 12.55%)
Android#ffa370df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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