Skip to content
Vectorlight.net

#baa7fa

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

HEX
#baa7fa
RGB
186, 167, 250
HSL
253.73°, 89.25%, 81.76%
OKLCH
0.78 0.12 293.99
Names
—
Lists

Codes

FormatValue
HEX#baa7fa
RGBrgb(186 167 250)
HSLhsl(253.73 89.25% 81.76%)
OKLCHoklch(0.78 0.12 293.99)
CMYKcmyk(25.6% 33.2% 0% 1.96%)
Android#ffbaa7fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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