Skip to content
Vectorlight.net

#a746de

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

HEX
#a746de
RGB
167, 70, 222
HSL
278.29°, 69.72%, 57.25%
OKLCH
0.59 0.23 310.54
Names
—
Lists

Codes

FormatValue
HEX#a746de
RGBrgb(167 70 222)
HSLhsl(278.29 69.72% 57.25%)
OKLCHoklch(0.59 0.23 310.54)
CMYKcmyk(24.77% 68.47% 0% 12.94%)
Android#ffa746de

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.59:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.57:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#a746de"
Gradient stop
<stop stop-color="#a746de"/>
CSS variable + fill
:root { --c: #a746de; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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