Skip to content
Vectorlight.net

#b270aa

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

HEX
#b270aa
RGB
178, 112, 170
HSL
307.27°, 30%, 56.86%
OKLCH
0.64 0.11 331.23
Names
—
Lists

Codes

FormatValue
HEX#b270aa
RGBrgb(178 112 170)
HSLhsl(307.27 30% 56.86%)
OKLCHoklch(0.64 0.11 331.23)
CMYKcmyk(0% 37.08% 4.49% 30.2%)
Android#ffb270aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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