Skip to content
Vectorlight.net

#ba64cb

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

HEX
#ba64cb
RGB
186, 100, 203
HSL
290.1°, 49.76%, 59.41%
OKLCH
0.64 0.17 320.81
Names
—
Lists

Codes

FormatValue
HEX#ba64cb
RGBrgb(186 100 203)
HSLhsl(290.1 49.76% 59.41%)
OKLCHoklch(0.64 0.17 320.81)
CMYKcmyk(8.37% 50.74% 0% 20.39%)
Android#ffba64cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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