Skip to content
Vectorlight.net

#a6839b

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

HEX
#a6839b
RGB
166, 131, 155
HSL
318.86°, 16.43%, 58.24%
OKLCH
0.65 0.05 338
Names
—
Lists

Codes

FormatValue
HEX#a6839b
RGBrgb(166 131 155)
HSLhsl(318.86 16.43% 58.24%)
OKLCHoklch(0.65 0.05 338)
CMYKcmyk(0% 21.08% 6.63% 34.9%)
Android#ffa6839b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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