Skip to content
Vectorlight.net

#ba50fd

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

HEX
#ba50fd
RGB
186, 80, 253
HSL
276.76°, 97.74%, 65.29%
OKLCH
0.65 0.25 309.1
Names
—
Lists

Codes

FormatValue
HEX#ba50fd
RGBrgb(186 80 253)
HSLhsl(276.76 97.74% 65.29%)
OKLCHoklch(0.65 0.25 309.1)
CMYKcmyk(26.48% 68.38% 0% 0.78%)
Android#ffba50fd

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="#ba50fd"
Gradient stop
<stop stop-color="#ba50fd"/>
CSS variable + fill
:root { --c: #ba50fd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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