Skip to content
Vectorlight.net

#baa5fb

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

HEX
#baa5fb
RGB
186, 165, 251
HSL
254.65°, 91.49%, 81.57%
OKLCH
0.77 0.12 294.58
Names
—
Lists

Codes

FormatValue
HEX#baa5fb
RGBrgb(186 165 251)
HSLhsl(254.65 91.49% 81.57%)
OKLCHoklch(0.77 0.12 294.58)
CMYKcmyk(25.9% 34.26% 0% 1.57%)
Android#ffbaa5fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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