Skip to content
Vectorlight.net

#ba9fcd

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

HEX
#ba9fcd
RGB
186, 159, 205
HSL
275.22°, 31.51%, 71.37%
OKLCH
0.74 0.07 311.1
Names
—
Lists

Codes

FormatValue
HEX#ba9fcd
RGBrgb(186 159 205)
HSLhsl(275.22 31.51% 71.37%)
OKLCHoklch(0.74 0.07 311.1)
CMYKcmyk(9.27% 22.44% 0% 19.61%)
Android#ffba9fcd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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