Skip to content
Vectorlight.net

#ba8ccc

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

HEX
#ba8ccc
RGB
186, 140, 204
HSL
283.13°, 38.55%, 67.45%
OKLCH
0.71 0.1 316.24
Names
—
Lists

Codes

FormatValue
HEX#ba8ccc
RGBrgb(186 140 204)
HSLhsl(283.13 38.55% 67.45%)
OKLCHoklch(0.71 0.1 316.24)
CMYKcmyk(8.82% 31.37% 0% 20%)
Android#ffba8ccc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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