Skip to content
Vectorlight.net

#a65ef6

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

HEX
#a65ef6
RGB
166, 94, 246
HSL
268.42°, 89.41%, 66.67%
OKLCH
0.64 0.22 302.35
Names
—
Lists

Codes

FormatValue
HEX#a65ef6
RGBrgb(166 94 246)
HSLhsl(268.42 89.41% 66.67%)
OKLCHoklch(0.64 0.22 302.35)
CMYKcmyk(32.52% 61.79% 0% 3.53%)
Android#ffa65ef6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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