Skip to content
Vectorlight.net

#ba78de

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

HEX
#ba78de
RGB
186, 120, 222
HSL
278.82°, 60.71%, 67.06%
OKLCH
0.68 0.16 312.66
Names
—
Lists

Codes

FormatValue
HEX#ba78de
RGBrgb(186 120 222)
HSLhsl(278.82 60.71% 67.06%)
OKLCHoklch(0.68 0.16 312.66)
CMYKcmyk(16.22% 45.95% 0% 12.94%)
Android#ffba78de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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