Skip to content
Vectorlight.net

#ba5dee

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

HEX
#ba5dee
RGB
186, 93, 238
HSL
278.48°, 81.01%, 64.9%
OKLCH
0.65 0.22 311.39
Names
—
Lists

Codes

FormatValue
HEX#ba5dee
RGBrgb(186 93 238)
HSLhsl(278.48 81.01% 64.9%)
OKLCHoklch(0.65 0.22 311.39)
CMYKcmyk(21.85% 60.92% 0% 6.67%)
Android#ffba5dee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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