Skip to content
Vectorlight.net

#ba89dc

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

HEX
#ba89dc
RGB
186, 137, 220
HSL
275.42°, 54.25%, 70%
OKLCH
0.71 0.13 310.53
Names
—
Lists

Codes

FormatValue
HEX#ba89dc
RGBrgb(186 137 220)
HSLhsl(275.42 54.25% 70%)
OKLCHoklch(0.71 0.13 310.53)
CMYKcmyk(15.45% 37.73% 0% 13.73%)
Android#ffba89dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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