Skip to content
Vectorlight.net

#ba64e7

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

HEX
#ba64e7
RGB
186, 100, 231
HSL
279.39°, 73.18%, 64.9%
OKLCH
0.66 0.2 312.47
Names
—
Lists

Codes

FormatValue
HEX#ba64e7
RGBrgb(186 100 231)
HSLhsl(279.39 73.18% 64.9%)
OKLCHoklch(0.66 0.2 312.47)
CMYKcmyk(19.48% 56.71% 0% 9.41%)
Android#ffba64e7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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