Skip to content
Vectorlight.net

#ba70bb

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

HEX
#ba70bb
RGB
186, 112, 187
HSL
299.2°, 35.55%, 58.63%
OKLCH
0.65 0.14 326.52
Names
—
Lists

Codes

FormatValue
HEX#ba70bb
RGBrgb(186 112 187)
HSLhsl(299.2 35.55% 58.63%)
OKLCHoklch(0.65 0.14 326.52)
CMYKcmyk(0.53% 40.11% 0% 26.67%)
Android#ffba70bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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