Skip to content
Vectorlight.net

#a26fbb

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

HEX
#a26fbb
RGB
162, 111, 187
HSL
280.26°, 35.85%, 58.43%
OKLCH
0.62 0.12 313.98
Names
—
Lists

Codes

FormatValue
HEX#a26fbb
RGBrgb(162 111 187)
HSLhsl(280.26 35.85% 58.43%)
OKLCHoklch(0.62 0.12 313.98)
CMYKcmyk(13.37% 40.64% 0% 26.67%)
Android#ffa26fbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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