Skip to content
Vectorlight.net

#b248bb

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

HEX
#b248bb
RGB
178, 72, 187
HSL
295.3°, 45.82%, 50.78%
OKLCH
0.59 0.2 324.5
Names
—
Lists

Codes

FormatValue
HEX#b248bb
RGBrgb(178 72 187)
HSLhsl(295.3 45.82% 50.78%)
OKLCHoklch(0.59 0.2 324.5)
CMYKcmyk(4.81% 61.5% 0% 26.67%)
Android#ffb248bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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