Skip to content
Vectorlight.net

#a245da

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

HEX
#a245da
RGB
162, 69, 218
HSL
277.45°, 66.82%, 56.27%
OKLCH
0.58 0.22 309.8
Names
—
Lists

Codes

FormatValue
HEX#a245da
RGBrgb(162 69 218)
HSLhsl(277.45 66.82% 56.27%)
OKLCHoklch(0.58 0.22 309.8)
CMYKcmyk(25.69% 68.35% 0% 14.51%)
Android#ffa245da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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