Skip to content
Vectorlight.net

#ba30be

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

HEX
#ba30be
RGB
186, 48, 190
HSL
298.31°, 59.66%, 46.67%
OKLCH
0.58 0.23 326.82
Names
—
Lists

Codes

FormatValue
HEX#ba30be
RGBrgb(186 48 190)
HSLhsl(298.31 59.66% 46.67%)
OKLCHoklch(0.58 0.23 326.82)
CMYKcmyk(2.11% 74.74% 0% 25.49%)
Android#ffba30be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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