Skip to content
Vectorlight.net

#ba77fd

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

HEX
#ba77fd
RGB
186, 119, 253
HSL
270°, 97.1%, 72.94%
OKLCH
0.7 0.2 304.93
Names
—
Lists

Codes

FormatValue
HEX#ba77fd
RGBrgb(186 119 253)
HSLhsl(270 97.1% 72.94%)
OKLCHoklch(0.7 0.2 304.93)
CMYKcmyk(26.48% 52.96% 0% 0.78%)
Android#ffba77fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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