Skip to content
Vectorlight.net

#ba46de

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

HEX
#ba46de
RGB
186, 70, 222
HSL
285.79°, 69.72%, 57.25%
OKLCH
0.62 0.23 317.06
Names
—
Lists

Codes

FormatValue
HEX#ba46de
RGBrgb(186 70 222)
HSLhsl(285.79 69.72% 57.25%)
OKLCHoklch(0.62 0.23 317.06)
CMYKcmyk(16.22% 68.47% 0% 12.94%)
Android#ffba46de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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