Skip to content
Vectorlight.net

#ba33dd

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

HEX
#ba33dd
RGB
186, 51, 221
HSL
287.65°, 71.43%, 53.33%
OKLCH
0.6 0.25 318.17
Names
—
Lists

Codes

FormatValue
HEX#ba33dd
RGBrgb(186 51 221)
HSLhsl(287.65 71.43% 53.33%)
OKLCHoklch(0.6 0.25 318.17)
CMYKcmyk(15.84% 76.92% 0% 13.33%)
Android#ffba33dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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