Skip to content
Vectorlight.net

#902fda

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

HEX
#902fda
RGB
144, 47, 218
HSL
274.04°, 69.8%, 51.96%
OKLCH
0.54 0.24 305.01
Names
—
Lists

Codes

FormatValue
HEX#902fda
RGBrgb(144 47 218)
HSLhsl(274.04 69.8% 51.96%)
OKLCHoklch(0.54 0.24 305.01)
CMYKcmyk(33.94% 78.44% 0% 14.51%)
Android#ff902fda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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