Skip to content
Vectorlight.net

#9227bc

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

HEX
#9227bc
RGB
146, 39, 188
HSL
283.09°, 65.64%, 44.51%
OKLCH
0.51 0.22 313.93
Names
—
Lists

Codes

FormatValue
HEX#9227bc
RGBrgb(146 39 188)
HSLhsl(283.09 65.64% 44.51%)
OKLCHoklch(0.51 0.22 313.93)
CMYKcmyk(22.34% 79.26% 0% 26.27%)
Android#ff9227bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9227bc;
background-color: #9227bc;
bg-[#9227bc]