Skip to content
Vectorlight.net

#ba73de

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

HEX
#ba73de
RGB
186, 115, 222
HSL
279.81°, 61.85%, 66.08%
OKLCH
0.67 0.17 313.3
Names
—
Lists

Codes

FormatValue
HEX#ba73de
RGBrgb(186 115 222)
HSLhsl(279.81 61.85% 66.08%)
OKLCHoklch(0.67 0.17 313.3)
CMYKcmyk(16.22% 48.2% 0% 12.94%)
Android#ffba73de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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