Skip to content
Vectorlight.net

#bba2fe

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

HEX
#bba2fe
RGB
187, 162, 254
HSL
256.3°, 97.87%, 81.57%
OKLCH
0.77 0.13 295.66
Names
—
Lists

Codes

FormatValue
HEX#bba2fe
RGBrgb(187 162 254)
HSLhsl(256.3 97.87% 81.57%)
OKLCHoklch(0.77 0.13 295.66)
CMYKcmyk(26.38% 36.22% 0% 0.39%)
Android#ffbba2fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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