Skip to content
Vectorlight.net

#ba56ee

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

HEX
#ba56ee
RGB
186, 86, 238
HSL
279.47°, 81.72%, 63.53%
OKLCH
0.64 0.23 312
Names
—
Lists

Codes

FormatValue
HEX#ba56ee
RGBrgb(186 86 238)
HSLhsl(279.47 81.72% 63.53%)
OKLCHoklch(0.64 0.23 312)
CMYKcmyk(21.85% 63.87% 0% 6.67%)
Android#ffba56ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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