Skip to content
Vectorlight.net

#b178ef

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

HEX
#b178ef
RGB
177, 120, 239
HSL
268.74°, 78.81%, 70.39%
OKLCH
0.68 0.18 304.24
Names
—
Lists

Codes

FormatValue
HEX#b178ef
RGBrgb(177 120 239)
HSLhsl(268.74 78.81% 70.39%)
OKLCHoklch(0.68 0.18 304.24)
CMYKcmyk(25.94% 49.79% 0% 6.27%)
Android#ffb178ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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