Skip to content
Vectorlight.net

#a682ef

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

HEX
#a682ef
RGB
166, 130, 239
HSL
259.82°, 77.3%, 72.35%
OKLCH
0.69 0.16 297.29
Names
—
Lists

Codes

FormatValue
HEX#a682ef
RGBrgb(166 130 239)
HSLhsl(259.82 77.3% 72.35%)
OKLCHoklch(0.69 0.16 297.29)
CMYKcmyk(30.54% 45.61% 0% 6.27%)
Android#ffa682ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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