Skip to content
Vectorlight.net

#ba80ce

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

HEX
#ba80ce
RGB
186, 128, 206
HSL
284.62°, 44.32%, 65.49%
OKLCH
0.69 0.13 317.14
Names
—
Lists

Codes

FormatValue
HEX#ba80ce
RGBrgb(186 128 206)
HSLhsl(284.62 44.32% 65.49%)
OKLCHoklch(0.69 0.13 317.14)
CMYKcmyk(9.71% 37.86% 0% 19.22%)
Android#ffba80ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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