Skip to content
Vectorlight.net

#baaafa

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

HEX
#baaafa
RGB
186, 170, 250
HSL
252°, 88.89%, 82.35%
OKLCH
0.78 0.11 292.76
Names
—
Lists

Codes

FormatValue
HEX#baaafa
RGBrgb(186 170 250)
HSLhsl(252 88.89% 82.35%)
OKLCHoklch(0.78 0.11 292.76)
CMYKcmyk(25.6% 32% 0% 1.96%)
Android#ffbaaafa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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