Skip to content
Vectorlight.net

#a67afc

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

HEX
#a67afc
RGB
166, 122, 252
HSL
260.31°, 95.59%, 73.33%
OKLCH
0.68 0.19 296.75
Names
—
Lists

Codes

FormatValue
HEX#a67afc
RGBrgb(166 122 252)
HSLhsl(260.31 95.59% 73.33%)
OKLCHoklch(0.68 0.19 296.75)
CMYKcmyk(34.13% 51.59% 0% 1.18%)
Android#ffa67afc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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