Skip to content
Vectorlight.net

#a65fea

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

HEX
#a65fea
RGB
166, 95, 234
HSL
270.65°, 76.8%, 64.51%
OKLCH
0.63 0.2 304.73
Names
—
Lists

Codes

FormatValue
HEX#a65fea
RGBrgb(166 95 234)
HSLhsl(270.65 76.8% 64.51%)
OKLCHoklch(0.63 0.2 304.73)
CMYKcmyk(29.06% 59.4% 0% 8.24%)
Android#ffa65fea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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