Skip to content
Vectorlight.net

#b225dc

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

HEX
#b225dc
RGB
178, 37, 220
HSL
286.23°, 72.33%, 50.39%
OKLCH
0.58 0.26 316.43
Names
—
Lists

Codes

FormatValue
HEX#b225dc
RGBrgb(178 37 220)
HSLhsl(286.23 72.33% 50.39%)
OKLCHoklch(0.58 0.26 316.43)
CMYKcmyk(19.09% 83.18% 0% 13.73%)
Android#ffb225dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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