Skip to content
Vectorlight.net

#b22ddb

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

HEX
#b22ddb
RGB
178, 45, 219
HSL
285.86°, 70.73%, 51.76%
OKLCH
0.58 0.25 316.4
Names
—
Lists

Codes

FormatValue
HEX#b22ddb
RGBrgb(178 45 219)
HSLhsl(285.86 70.73% 51.76%)
OKLCHoklch(0.58 0.25 316.4)
CMYKcmyk(18.72% 79.45% 0% 14.12%)
Android#ffb22ddb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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