Skip to content
Vectorlight.net

#ba82ca

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

HEX
#ba82ca
RGB
186, 130, 202
HSL
286.67°, 40.45%, 65.1%
OKLCH
0.69 0.12 318.56
Names
—
Lists

Codes

FormatValue
HEX#ba82ca
RGBrgb(186 130 202)
HSLhsl(286.67 40.45% 65.1%)
OKLCHoklch(0.69 0.12 318.56)
CMYKcmyk(7.92% 35.64% 0% 20.78%)
Android#ffba82ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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