Skip to content
Vectorlight.net

#ba84e4

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

HEX
#ba84e4
RGB
186, 132, 228
HSL
273.75°, 64%, 70.59%
OKLCH
0.7 0.15 308.98
Names
—
Lists

Codes

FormatValue
HEX#ba84e4
RGBrgb(186 132 228)
HSLhsl(273.75 64% 70.59%)
OKLCHoklch(0.7 0.15 308.98)
CMYKcmyk(18.42% 42.11% 0% 10.59%)
Android#ffba84e4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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