Skip to content
Vectorlight.net

#b246ed

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

HEX
#b246ed
RGB
178, 70, 237
HSL
278.8°, 82.27%, 60.2%
OKLCH
0.62 0.24 310.77
Names
—
Lists

Codes

FormatValue
HEX#b246ed
RGBrgb(178 70 237)
HSLhsl(278.8 82.27% 60.2%)
OKLCHoklch(0.62 0.24 310.77)
CMYKcmyk(24.89% 70.46% 0% 7.06%)
Android#ffb246ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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