Skip to content
Vectorlight.net

#a670da

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

HEX
#a670da
RGB
166, 112, 218
HSL
270.57°, 58.89%, 64.71%
OKLCH
0.65 0.16 305.91
Names
—
Lists

Codes

FormatValue
HEX#a670da
RGBrgb(166 112 218)
HSLhsl(270.57 58.89% 64.71%)
OKLCHoklch(0.65 0.16 305.91)
CMYKcmyk(23.85% 48.62% 0% 14.51%)
Android#ffa670da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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