Skip to content
Vectorlight.net

#b245ef

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

HEX
#b245ef
RGB
178, 69, 239
HSL
278.47°, 84.16%, 60.39%
OKLCH
0.62 0.25 310.38
Names
—
Lists

Codes

FormatValue
HEX#b245ef
RGBrgb(178 69 239)
HSLhsl(278.47 84.16% 60.39%)
OKLCHoklch(0.62 0.25 310.38)
CMYKcmyk(25.52% 71.13% 0% 6.27%)
Android#ffb245ef

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="#b245ef"
Gradient stop
<stop stop-color="#b245ef"/>
CSS variable + fill
:root { --c: #b245ef; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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