Skip to content
Vectorlight.net

#896fab

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

HEX
#896fab
RGB
137, 111, 171
HSL
266°, 26.32%, 55.29%
OKLCH
0.59 0.09 303.56
Names
—
Lists

Codes

FormatValue
HEX#896fab
RGBrgb(137 111 171)
HSLhsl(266 26.32% 55.29%)
OKLCHoklch(0.59 0.09 303.56)
CMYKcmyk(19.88% 35.09% 0% 32.94%)
Android#ff896fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #896fab;
background-color: #896fab;
bg-[#896fab]