Skip to content
Vectorlight.net

#b02cdb

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

HEX
#b02cdb
RGB
176, 44, 219
HSL
285.26°, 70.85%, 51.57%
OKLCH
0.58 0.25 315.81
Names
—
Lists

Codes

FormatValue
HEX#b02cdb
RGBrgb(176 44 219)
HSLhsl(285.26 70.85% 51.57%)
OKLCHoklch(0.58 0.25 315.81)
CMYKcmyk(19.63% 79.91% 0% 14.12%)
Android#ffb02cdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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