Skip to content
Vectorlight.net

#a670fd

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

HEX
#a670fd
RGB
166, 112, 253
HSL
262.98°, 97.24%, 71.57%
OKLCH
0.67 0.2 298.4
Names
—
Lists

Codes

FormatValue
HEX#a670fd
RGBrgb(166 112 253)
HSLhsl(262.98 97.24% 71.57%)
OKLCHoklch(0.67 0.2 298.4)
CMYKcmyk(34.39% 55.73% 0% 0.78%)
Android#ffa670fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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