Skip to content
Vectorlight.net

#902ace

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

HEX
#902ace
RGB
144, 42, 206
HSL
277.32°, 66.13%, 48.63%
OKLCH
0.52 0.23 308.21
Names
—
Lists

Codes

FormatValue
HEX#902ace
RGBrgb(144 42 206)
HSLhsl(277.32 66.13% 48.63%)
OKLCHoklch(0.52 0.23 308.21)
CMYKcmyk(30.1% 79.61% 0% 19.22%)
Android#ff902ace

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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