Skip to content
Vectorlight.net

#ba97d0

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

HEX
#ba97d0
RGB
186, 151, 208
HSL
276.84°, 37.75%, 70.39%
OKLCH
0.73 0.09 312.03
Names
—
Lists

Codes

FormatValue
HEX#ba97d0
RGBrgb(186 151 208)
HSLhsl(276.84 37.75% 70.39%)
OKLCHoklch(0.73 0.09 312.03)
CMYKcmyk(10.58% 27.4% 0% 18.43%)
Android#ffba97d0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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