Skip to content
Vectorlight.net

#ba55dd

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

HEX
#ba55dd
RGB
186, 85, 221
HSL
284.56°, 66.67%, 60%
OKLCH
0.63 0.21 316.39
Names
—
Lists

Codes

FormatValue
HEX#ba55dd
RGBrgb(186 85 221)
HSLhsl(284.56 66.67% 60%)
OKLCHoklch(0.63 0.21 316.39)
CMYKcmyk(15.84% 61.54% 0% 13.33%)
Android#ffba55dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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