Skip to content
Vectorlight.net

#b478ef

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

HEX
#b478ef
RGB
180, 120, 239
HSL
270.25°, 78.81%, 70.39%
OKLCH
0.68 0.18 305.51
Names
—
Lists

Codes

FormatValue
HEX#b478ef
RGBrgb(180 120 239)
HSLhsl(270.25 78.81% 70.39%)
OKLCHoklch(0.68 0.18 305.51)
CMYKcmyk(24.69% 49.79% 0% 6.27%)
Android#ffb478ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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