Skip to content
Vectorlight.net

#bb38e3

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

HEX
#bb38e3
RGB
187, 56, 227
HSL
285.96°, 75.33%, 55.49%
OKLCH
0.61 0.25 316.79
Names
—
Lists

Codes

FormatValue
HEX#bb38e3
RGBrgb(187 56 227)
HSLhsl(285.96 75.33% 55.49%)
OKLCHoklch(0.61 0.25 316.79)
CMYKcmyk(17.62% 75.33% 0% 10.98%)
Android#ffbb38e3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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