Skip to content
Vectorlight.net

#ba68eb

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

HEX
#ba68eb
RGB
186, 104, 235
HSL
277.56°, 76.61%, 66.47%
OKLCH
0.66 0.2 311.03
Names
—
Lists

Codes

FormatValue
HEX#ba68eb
RGBrgb(186 104 235)
HSLhsl(277.56 76.61% 66.47%)
OKLCHoklch(0.66 0.2 311.03)
CMYKcmyk(20.85% 55.74% 0% 7.84%)
Android#ffba68eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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