Skip to content
Vectorlight.net

#ba5ccd

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

HEX
#ba5ccd
RGB
186, 92, 205
HSL
289.91°, 53.05%, 58.24%
OKLCH
0.63 0.19 320.65
Names
—
Lists

Codes

FormatValue
HEX#ba5ccd
RGBrgb(186 92 205)
HSLhsl(289.91 53.05% 58.24%)
OKLCHoklch(0.63 0.19 320.65)
CMYKcmyk(9.27% 55.12% 0% 19.61%)
Android#ffba5ccd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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