Skip to content
Vectorlight.net

#b04bef

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

HEX
#b04bef
RGB
176, 75, 239
HSL
276.95°, 83.67%, 61.57%
OKLCH
0.62 0.24 309.27
Names
—
Lists

Codes

FormatValue
HEX#b04bef
RGBrgb(176 75 239)
HSLhsl(276.95 83.67% 61.57%)
OKLCHoklch(0.62 0.24 309.27)
CMYKcmyk(26.36% 68.62% 0% 6.27%)
Android#ffb04bef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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