Skip to content
Vectorlight.net

#a297db

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

HEX
#a297db
RGB
162, 151, 219
HSL
249.71°, 48.57%, 72.55%
OKLCH
0.71 0.1 291.1
Names
—
Lists

Codes

FormatValue
HEX#a297db
RGBrgb(162 151 219)
HSLhsl(249.71 48.57% 72.55%)
OKLCHoklch(0.71 0.1 291.1)
CMYKcmyk(26.03% 31.05% 0% 14.12%)
Android#ffa297db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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