Skip to content
Vectorlight.net

#902bba

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

HEX
#902bba
RGB
144, 43, 186
HSL
282.38°, 62.45%, 44.9%
OKLCH
0.51 0.22 313.51
Names
—
Lists

Codes

FormatValue
HEX#902bba
RGBrgb(144 43 186)
HSLhsl(282.38 62.45% 44.9%)
OKLCHoklch(0.51 0.22 313.51)
CMYKcmyk(22.58% 76.88% 0% 27.06%)
Android#ff902bba

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.24: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="#902bba"
Gradient stop
<stop stop-color="#902bba"/>
CSS variable + fill
:root { --c: #902bba; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #902bba;
background-color: #902bba;
bg-[#902bba]