Skip to content
Vectorlight.net

#ba55ce

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

HEX
#ba55ce
RGB
186, 85, 206
HSL
290.08°, 55.25%, 57.06%
OKLCH
0.62 0.2 320.74
Names
—
Lists

Codes

FormatValue
HEX#ba55ce
RGBrgb(186 85 206)
HSLhsl(290.08 55.25% 57.06%)
OKLCHoklch(0.62 0.2 320.74)
CMYKcmyk(9.71% 58.74% 0% 19.22%)
Android#ffba55ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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