Skip to content
Vectorlight.net

#b828dc

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

HEX
#b828dc
RGB
184, 40, 220
HSL
288°, 72%, 50.98%
OKLCH
0.59 0.26 318.17
Names
—
Lists

Codes

FormatValue
HEX#b828dc
RGBrgb(184 40 220)
HSLhsl(288 72% 50.98%)
OKLCHoklch(0.59 0.26 318.17)
CMYKcmyk(16.36% 81.82% 0% 13.73%)
Android#ffb828dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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