Skip to content
Vectorlight.net

#ba6eef

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

HEX
#ba6eef
RGB
186, 110, 239
HSL
275.35°, 80.12%, 68.43%
OKLCH
0.67 0.19 309.35
Names
—
Lists

Codes

FormatValue
HEX#ba6eef
RGBrgb(186 110 239)
HSLhsl(275.35 80.12% 68.43%)
OKLCHoklch(0.67 0.19 309.35)
CMYKcmyk(22.18% 53.97% 0% 6.27%)
Android#ffba6eef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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