Skip to content
Vectorlight.net

#ba6bf7

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

HEX
#ba6bf7
RGB
186, 107, 247
HSL
273.86°, 89.74%, 69.41%
OKLCH
0.68 0.21 307.83
Names
—
Lists

Codes

FormatValue
HEX#ba6bf7
RGBrgb(186 107 247)
HSLhsl(273.86 89.74% 69.41%)
OKLCHoklch(0.68 0.21 307.83)
CMYKcmyk(24.7% 56.68% 0% 3.14%)
Android#ffba6bf7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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