Skip to content
Vectorlight.net

#ba61cf

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

HEX
#ba61cf
RGB
186, 97, 207
HSL
288.55°, 53.4%, 59.61%
OKLCH
0.64 0.18 319.68
Names
—
Lists

Codes

FormatValue
HEX#ba61cf
RGBrgb(186 97 207)
HSLhsl(288.55 53.4% 59.61%)
OKLCHoklch(0.64 0.18 319.68)
CMYKcmyk(10.14% 53.14% 0% 18.82%)
Android#ffba61cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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