Skip to content
Vectorlight.net

#a246d1

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

HEX
#a246d1
RGB
162, 70, 209
HSL
279.71°, 60.17%, 54.71%
OKLCH
0.58 0.21 312.02
Names
—
Lists

Codes

FormatValue
HEX#a246d1
RGBrgb(162 70 209)
HSLhsl(279.71 60.17% 54.71%)
OKLCHoklch(0.58 0.21 312.02)
CMYKcmyk(22.49% 66.51% 0% 18.04%)
Android#ffa246d1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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