Skip to content
Vectorlight.net

#b02fda

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

HEX
#b02fda
RGB
176, 47, 218
HSL
285.26°, 69.8%, 51.96%
OKLCH
0.58 0.25 315.94
Names
—
Lists

Codes

FormatValue
HEX#b02fda
RGBrgb(176 47 218)
HSLhsl(285.26 69.8% 51.96%)
OKLCHoklch(0.58 0.25 315.94)
CMYKcmyk(19.27% 78.44% 0% 14.51%)
Android#ffb02fda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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