Skip to content
Vectorlight.net

#ba67a6

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

HEX
#ba67a6
RGB
186, 103, 166
HSL
314.46°, 37.56%, 56.67%
OKLCH
0.63 0.13 336.73
Names
—
Lists

Codes

FormatValue
HEX#ba67a6
RGBrgb(186 103 166)
HSLhsl(314.46 37.56% 56.67%)
OKLCHoklch(0.63 0.13 336.73)
CMYKcmyk(0% 44.62% 10.75% 27.06%)
Android#ffba67a6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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