Skip to content
Vectorlight.net

#a296fe

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

HEX
#a296fe
RGB
162, 150, 254
HSL
246.92°, 98.11%, 79.22%
OKLCH
0.73 0.15 287.4
Names
—
Lists

Codes

FormatValue
HEX#a296fe
RGBrgb(162 150 254)
HSLhsl(246.92 98.11% 79.22%)
OKLCHoklch(0.73 0.15 287.4)
CMYKcmyk(36.22% 40.94% 0% 0.39%)
Android#ffa296fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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