Skip to content
Vectorlight.net

#ba9bd5

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

HEX
#ba9bd5
RGB
186, 155, 213
HSL
272.07°, 40.85%, 72.16%
OKLCH
0.74 0.09 308.64
Names
—
Lists

Codes

FormatValue
HEX#ba9bd5
RGBrgb(186 155 213)
HSLhsl(272.07 40.85% 72.16%)
OKLCHoklch(0.74 0.09 308.64)
CMYKcmyk(12.68% 27.23% 0% 16.47%)
Android#ffba9bd5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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