Skip to content
Vectorlight.net

#b248da

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

HEX
#b248da
RGB
178, 72, 218
HSL
283.56°, 66.36%, 56.86%
OKLCH
0.6 0.22 315.28
Names
—
Lists

Codes

FormatValue
HEX#b248da
RGBrgb(178 72 218)
HSLhsl(283.56 66.36% 56.86%)
OKLCHoklch(0.6 0.22 315.28)
CMYKcmyk(18.35% 66.97% 0% 14.51%)
Android#ffb248da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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