Skip to content
Vectorlight.net

#ba45ed

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

HEX
#ba45ed
RGB
186, 69, 237
HSL
281.79°, 82.35%, 60%
OKLCH
0.62 0.25 313.42
Names
—
Lists

Codes

FormatValue
HEX#ba45ed
RGBrgb(186 69 237)
HSLhsl(281.79 82.35% 60%)
OKLCHoklch(0.62 0.25 313.42)
CMYKcmyk(21.52% 70.89% 0% 7.06%)
Android#ffba45ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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