Skip to content
Vectorlight.net

#ba6dde

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

HEX
#ba6dde
RGB
186, 109, 222
HSL
280.88°, 63.13%, 64.9%
OKLCH
0.66 0.18 314
Names
—
Lists

Codes

FormatValue
HEX#ba6dde
RGBrgb(186 109 222)
HSLhsl(280.88 63.13% 64.9%)
OKLCHoklch(0.66 0.18 314)
CMYKcmyk(16.22% 50.9% 0% 12.94%)
Android#ffba6dde

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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