Skip to content
Vectorlight.net

#b262ab

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

HEX
#b262ab
RGB
178, 98, 171
HSL
305.25°, 34.19%, 54.12%
OKLCH
0.61 0.14 330.38
Names
—
Lists

Codes

FormatValue
HEX#b262ab
RGBrgb(178 98 171)
HSLhsl(305.25 34.19% 54.12%)
OKLCHoklch(0.61 0.14 330.38)
CMYKcmyk(0% 44.94% 3.93% 30.2%)
Android#ffb262ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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