Skip to content
Vectorlight.net

#ba3dbe

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

HEX
#ba3dbe
RGB
186, 61, 190
HSL
298.14°, 51.39%, 49.22%
OKLCH
0.59 0.22 326.59
Names
—
Lists

Codes

FormatValue
HEX#ba3dbe
RGBrgb(186 61 190)
HSLhsl(298.14 51.39% 49.22%)
OKLCHoklch(0.59 0.22 326.59)
CMYKcmyk(2.11% 67.89% 0% 25.49%)
Android#ffba3dbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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