Skip to content
Vectorlight.net

#b246cf

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

HEX
#b246cf
RGB
178, 70, 207
HSL
287.3°, 58.8%, 54.31%
OKLCH
0.6 0.22 318.41
Names
—
Lists

Codes

FormatValue
HEX#b246cf
RGBrgb(178 70 207)
HSLhsl(287.3 58.8% 54.31%)
OKLCHoklch(0.6 0.22 318.41)
CMYKcmyk(14.01% 66.18% 0% 18.82%)
Android#ffb246cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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