Skip to content
Vectorlight.net

#b178e7

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

HEX
#b178e7
RGB
177, 120, 231
HSL
270.81°, 69.81%, 68.82%
OKLCH
0.68 0.17 306.15
Names
—
Lists

Codes

FormatValue
HEX#b178e7
RGBrgb(177 120 231)
HSLhsl(270.81 69.81% 68.82%)
OKLCHoklch(0.68 0.17 306.15)
CMYKcmyk(23.38% 48.05% 0% 9.41%)
Android#ffb178e7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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