Skip to content
Vectorlight.net

#ba73ff

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

HEX
#ba73ff
RGB
186, 115, 255
HSL
270.43°, 100%, 72.55%
OKLCH
0.69 0.2 305.07
Names
—
Lists

Codes

FormatValue
HEX#ba73ff
RGBrgb(186 115 255)
HSLhsl(270.43 100% 72.55%)
OKLCHoklch(0.69 0.2 305.07)
CMYKcmyk(27.06% 54.9% 0% 0%)
Android#ffba73ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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