Skip to content
Vectorlight.net

#ba6aaa

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

HEX
#ba6aaa
RGB
186, 106, 170
HSL
312°, 36.7%, 57.25%
OKLCH
0.63 0.13 334.82
Names
—
Lists

Codes

FormatValue
HEX#ba6aaa
RGBrgb(186 106 170)
HSLhsl(312 36.7% 57.25%)
OKLCHoklch(0.63 0.13 334.82)
CMYKcmyk(0% 43.01% 8.6% 27.06%)
Android#ffba6aaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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