Skip to content
Vectorlight.net

#b247fc

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

HEX
#b247fc
RGB
178, 71, 252
HSL
275.47°, 96.79%, 63.33%
OKLCH
0.63 0.26 307.44
Names
—
Lists

Codes

FormatValue
HEX#b247fc
RGBrgb(178 71 252)
HSLhsl(275.47 96.79% 63.33%)
OKLCHoklch(0.63 0.26 307.44)
CMYKcmyk(29.37% 71.83% 0% 1.18%)
Android#ffb247fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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