Skip to content
Vectorlight.net

#ba95da

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

HEX
#ba95da
RGB
186, 149, 218
HSL
272.17°, 48.25%, 71.96%
OKLCH
0.73 0.11 308.46
Names
—
Lists

Codes

FormatValue
HEX#ba95da
RGBrgb(186 149 218)
HSLhsl(272.17 48.25% 71.96%)
OKLCHoklch(0.73 0.11 308.46)
CMYKcmyk(14.68% 31.65% 0% 14.51%)
Android#ffba95da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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