Skip to content
Vectorlight.net

#ba6dcd

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

HEX
#ba6dcd
RGB
186, 109, 205
HSL
288.13°, 48.98%, 61.57%
OKLCH
0.66 0.16 319.46
Names
—
Lists

Codes

FormatValue
HEX#ba6dcd
RGBrgb(186 109 205)
HSLhsl(288.13 48.98% 61.57%)
OKLCHoklch(0.66 0.16 319.46)
CMYKcmyk(9.27% 46.83% 0% 19.61%)
Android#ffba6dcd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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