Skip to content
Vectorlight.net

#b470ea

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

HEX
#b470ea
RGB
180, 112, 234
HSL
273.44°, 74.39%, 67.84%
OKLCH
0.67 0.18 307.93
Names
—
Lists

Codes

FormatValue
HEX#b470ea
RGBrgb(180 112 234)
HSLhsl(273.44 74.39% 67.84%)
OKLCHoklch(0.67 0.18 307.93)
CMYKcmyk(23.08% 52.14% 0% 8.24%)
Android#ffb470ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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