Skip to content
Vectorlight.net

#b838bb

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

HEX
#b838bb
RGB
184, 56, 187
HSL
298.63°, 53.91%, 47.65%
OKLCH
0.58 0.22 326.98
Names
—
Lists

Codes

FormatValue
HEX#b838bb
RGBrgb(184 56 187)
HSLhsl(298.63 53.91% 47.65%)
OKLCHoklch(0.58 0.22 326.98)
CMYKcmyk(1.6% 70.05% 0% 26.67%)
Android#ffb838bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.85:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.32:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#b838bb"
Gradient stop
<stop stop-color="#b838bb"/>
CSS variable + fill
:root { --c: #b838bb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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