Skip to content
Vectorlight.net

#a246ea

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

HEX
#a246ea
RGB
162, 70, 234
HSL
273.66°, 79.61%, 59.61%
OKLCH
0.59 0.24 306
Names
—
Lists

Codes

FormatValue
HEX#a246ea
RGBrgb(162 70 234)
HSLhsl(273.66 79.61% 59.61%)
OKLCHoklch(0.59 0.24 306)
CMYKcmyk(30.77% 70.09% 0% 8.24%)
Android#ffa246ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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