Skip to content
Vectorlight.net

#ba79fe

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

HEX
#ba79fe
RGB
186, 121, 254
HSL
269.32°, 98.52%, 73.53%
OKLCH
0.7 0.19 304.42
Names
—
Lists

Codes

FormatValue
HEX#ba79fe
RGBrgb(186 121 254)
HSLhsl(269.32 98.52% 73.53%)
OKLCHoklch(0.7 0.19 304.42)
CMYKcmyk(26.77% 52.36% 0% 0.39%)
Android#ffba79fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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