Skip to content
Vectorlight.net

#ba6dcc

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

HEX
#ba6dcc
RGB
186, 109, 204
HSL
288.63°, 48.22%, 61.37%
OKLCH
0.65 0.16 319.81
Names
—
Lists

Codes

FormatValue
HEX#ba6dcc
RGBrgb(186 109 204)
HSLhsl(288.63 48.22% 61.37%)
OKLCHoklch(0.65 0.16 319.81)
CMYKcmyk(8.82% 46.57% 0% 20%)
Android#ffba6dcc

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.14: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="#ba6dcc"
Gradient stop
<stop stop-color="#ba6dcc"/>
CSS variable + fill
:root { --c: #ba6dcc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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