Skip to content
Vectorlight.net

#ba00af

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

HEX
#ba00af
RGB
186, 0, 175
HSL
303.55°, 100%, 36.47%
OKLCH
0.55 0.25 331.61
Names
—
Lists

Codes

FormatValue
HEX#ba00af
RGBrgb(186 0 175)
HSLhsl(303.55 100% 36.47%)
OKLCHoklch(0.55 0.25 331.61)
CMYKcmyk(0% 100% 5.91% 27.06%)
Android#ffba00af

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.66:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.70:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ba00af"
Gradient stop
<stop stop-color="#ba00af"/>
CSS variable + fill
:root { --c: #ba00af; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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