Skip to content
Vectorlight.net

#b04dfe

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

HEX
#b04dfe
RGB
176, 77, 254
HSL
273.56°, 98.88%, 64.9%
OKLCH
0.63 0.25 305.92
Names
—
Lists

Codes

FormatValue
HEX#b04dfe
RGBrgb(176 77 254)
HSLhsl(273.56 98.88% 64.9%)
OKLCHoklch(0.63 0.25 305.92)
CMYKcmyk(30.71% 69.69% 0% 0.39%)
Android#ffb04dfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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