Skip to content
Vectorlight.net

#ba80ca

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

HEX
#ba80ca
RGB
186, 128, 202
HSL
287.03°, 41.11%, 64.71%
OKLCH
0.68 0.12 318.79
Names
—
Lists

Codes

FormatValue
HEX#ba80ca
RGBrgb(186 128 202)
HSLhsl(287.03 41.11% 64.71%)
OKLCHoklch(0.68 0.12 318.79)
CMYKcmyk(7.92% 36.63% 0% 20.78%)
Android#ffba80ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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