Skip to content
Vectorlight.net

#bb4aec

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

HEX
#bb4aec
RGB
187, 74, 236
HSL
281.85°, 81%, 60.78%
OKLCH
0.63 0.24 313.67
Names
—
Lists

Codes

FormatValue
HEX#bb4aec
RGBrgb(187 74 236)
HSLhsl(281.85 81% 60.78%)
OKLCHoklch(0.63 0.24 313.67)
CMYKcmyk(20.76% 68.64% 0% 7.45%)
Android#ffbb4aec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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