Skip to content
Vectorlight.net

#a684eb

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

HEX
#a684eb
RGB
166, 132, 235
HSL
259.81°, 72.03%, 71.96%
OKLCH
0.69 0.15 297.53
Names
—
Lists

Codes

FormatValue
HEX#a684eb
RGBrgb(166 132 235)
HSLhsl(259.81 72.03% 71.96%)
OKLCHoklch(0.69 0.15 297.53)
CMYKcmyk(29.36% 43.83% 0% 7.84%)
Android#ffa684eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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