Skip to content
Vectorlight.net

#ba67c7

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

HEX
#ba67c7
RGB
186, 103, 199
HSL
291.88°, 46.15%, 59.22%
OKLCH
0.64 0.16 322.04
Names
—
Lists

Codes

FormatValue
HEX#ba67c7
RGBrgb(186 103 199)
HSLhsl(291.88 46.15% 59.22%)
OKLCHoklch(0.64 0.16 322.04)
CMYKcmyk(6.53% 48.24% 0% 21.96%)
Android#ffba67c7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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