Skip to content
Vectorlight.net

#ba46be

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

HEX
#ba46be
RGB
186, 70, 190
HSL
298°, 48%, 50.98%
OKLCH
0.6 0.2 326.41
Names
—
Lists

Codes

FormatValue
HEX#ba46be
RGBrgb(186 70 190)
HSLhsl(298 48% 50.98%)
OKLCHoklch(0.6 0.2 326.41)
CMYKcmyk(2.11% 63.16% 0% 25.49%)
Android#ffba46be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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