Skip to content
Vectorlight.net

#a765fe

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

HEX
#a765fe
RGB
167, 101, 254
HSL
265.88°, 98.71%, 69.61%
OKLCH
0.65 0.22 300.25
Names
—
Lists

Codes

FormatValue
HEX#a765fe
RGBrgb(167 101 254)
HSLhsl(265.88 98.71% 69.61%)
OKLCHoklch(0.65 0.22 300.25)
CMYKcmyk(34.25% 60.24% 0% 0.39%)
Android#ffa765fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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