Skip to content
Vectorlight.net

#ba5bcd

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

HEX
#ba5bcd
RGB
186, 91, 205
HSL
290°, 53.27%, 58.04%
OKLCH
0.63 0.19 320.71
Names
—
Lists

Codes

FormatValue
HEX#ba5bcd
RGBrgb(186 91 205)
HSLhsl(290 53.27% 58.04%)
OKLCHoklch(0.63 0.19 320.71)
CMYKcmyk(9.27% 55.61% 0% 19.61%)
Android#ffba5bcd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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