Skip to content
Vectorlight.net

#b828df

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

HEX
#b828df
RGB
184, 40, 223
HSL
287.21°, 74.09%, 51.57%
OKLCH
0.59 0.26 317.43
Names
—
Lists

Codes

FormatValue
HEX#b828df
RGBrgb(184 40 223)
HSLhsl(287.21 74.09% 51.57%)
OKLCHoklch(0.59 0.26 317.43)
CMYKcmyk(17.49% 82.06% 0% 12.55%)
Android#ffb828df

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.76:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.40:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#b828df"
Gradient stop
<stop stop-color="#b828df"/>
CSS variable + fill
:root { --c: #b828df; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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