Skip to content
Vectorlight.net

#ba9dcb

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

HEX
#ba9dcb
RGB
186, 157, 203
HSL
277.83°, 30.67%, 70.59%
OKLCH
0.74 0.07 312.88
Names
—
Lists

Codes

FormatValue
HEX#ba9dcb
RGBrgb(186 157 203)
HSLhsl(277.83 30.67% 70.59%)
OKLCHoklch(0.74 0.07 312.88)
CMYKcmyk(8.37% 22.66% 0% 20.39%)
Android#ffba9dcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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