Skip to content
Vectorlight.net

#ba5fcd

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

HEX
#ba5fcd
RGB
186, 95, 205
HSL
289.64°, 52.38%, 58.82%
OKLCH
0.64 0.18 320.47
Names
—
Lists

Codes

FormatValue
HEX#ba5fcd
RGBrgb(186 95 205)
HSLhsl(289.64 52.38% 58.82%)
OKLCHoklch(0.64 0.18 320.47)
CMYKcmyk(9.27% 53.66% 0% 19.61%)
Android#ffba5fcd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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