Skip to content
Vectorlight.net

#a896cf

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

HEX
#a896cf
RGB
168, 150, 207
HSL
258.95°, 37.25%, 70%
OKLCH
0.71 0.08 298.73
Names
—
Lists

Codes

FormatValue
HEX#a896cf
RGBrgb(168 150 207)
HSLhsl(258.95 37.25% 70%)
OKLCHoklch(0.71 0.08 298.73)
CMYKcmyk(18.84% 27.54% 0% 18.82%)
Android#ffa896cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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