Skip to content
Vectorlight.net

#a97bfe

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

HEX
#a97bfe
RGB
169, 123, 254
HSL
261.07°, 98.5%, 73.92%
OKLCH
0.69 0.19 297.41
Names
—
Lists

Codes

FormatValue
HEX#a97bfe
RGBrgb(169 123 254)
HSLhsl(261.07 98.5% 73.92%)
OKLCHoklch(0.69 0.19 297.41)
CMYKcmyk(33.46% 51.57% 0% 0.39%)
Android#ffa97bfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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