Skip to content
Vectorlight.net

#baa2dd

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

HEX
#baa2dd
RGB
186, 162, 221
HSL
264.41°, 46.46%, 75.1%
OKLCH
0.75 0.09 302.98
Names
—
Lists

Codes

FormatValue
HEX#baa2dd
RGBrgb(186 162 221)
HSLhsl(264.41 46.46% 75.1%)
OKLCHoklch(0.75 0.09 302.98)
CMYKcmyk(15.84% 26.7% 0% 13.33%)
Android#ffbaa2dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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