Skip to content
Vectorlight.net

#ba79ce

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

HEX
#ba79ce
RGB
186, 121, 206
HSL
285.88°, 46.45%, 64.12%
OKLCH
0.67 0.14 317.96
Names
—
Lists

Codes

FormatValue
HEX#ba79ce
RGBrgb(186 121 206)
HSLhsl(285.88 46.45% 64.12%)
OKLCHoklch(0.67 0.14 317.96)
CMYKcmyk(9.71% 41.26% 0% 19.22%)
Android#ffba79ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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