Skip to content
Vectorlight.net

#ba01c5

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

HEX
#ba01c5
RGB
186, 1, 197
HSL
296.63°, 98.99%, 38.82%
OKLCH
0.56 0.26 325.29
Names
—
Lists

Codes

FormatValue
HEX#ba01c5
RGBrgb(186 1 197)
HSLhsl(296.63 98.99% 38.82%)
OKLCHoklch(0.56 0.26 325.29)
CMYKcmyk(5.58% 99.49% 0% 22.75%)
Android#ffba01c5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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