Skip to content
Vectorlight.net

#ba80dd

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

HEX
#ba80dd
RGB
186, 128, 221
HSL
277.42°, 57.76%, 68.43%
OKLCH
0.69 0.14 311.79
Names
—
Lists

Codes

FormatValue
HEX#ba80dd
RGBrgb(186 128 221)
HSLhsl(277.42 57.76% 68.43%)
OKLCHoklch(0.69 0.14 311.79)
CMYKcmyk(15.84% 42.08% 0% 13.33%)
Android#ffba80dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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