Skip to content
Vectorlight.net

#ba5feb

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

HEX
#ba5feb
RGB
186, 95, 235
HSL
279°, 77.78%, 64.71%
OKLCH
0.65 0.21 311.94
Names
—
Lists

Codes

FormatValue
HEX#ba5feb
RGBrgb(186 95 235)
HSLhsl(279 77.78% 64.71%)
OKLCHoklch(0.65 0.21 311.94)
CMYKcmyk(20.85% 59.57% 0% 7.84%)
Android#ffba5feb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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