Skip to content
Vectorlight.net

#ba95db

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

HEX
#ba95db
RGB
186, 149, 219
HSL
271.71°, 49.3%, 72.16%
OKLCH
0.73 0.11 308.1
Names
—
Lists

Codes

FormatValue
HEX#ba95db
RGBrgb(186 149 219)
HSLhsl(271.71 49.3% 72.16%)
OKLCHoklch(0.73 0.11 308.1)
CMYKcmyk(15.07% 31.96% 0% 14.12%)
Android#ffba95db

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.40: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="#ba95db"
Gradient stop
<stop stop-color="#ba95db"/>
CSS variable + fill
:root { --c: #ba95db; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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