Skip to content
Vectorlight.net

#ba4bf5

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

HEX
#ba4bf5
RGB
186, 75, 245
HSL
279.18°, 89.47%, 62.75%
OKLCH
0.64 0.25 311.21
Names
—
Lists

Codes

FormatValue
HEX#ba4bf5
RGBrgb(186 75 245)
HSLhsl(279.18 89.47% 62.75%)
OKLCHoklch(0.64 0.25 311.21)
CMYKcmyk(24.08% 69.39% 0% 3.92%)
Android#ffba4bf5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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