Skip to content
Vectorlight.net

#904eff

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

HEX
#904eff
RGB
144, 78, 255
HSL
262.37°, 100%, 65.29%
OKLCH
0.6 0.25 294.92
Names
—
Lists

Codes

FormatValue
HEX#904eff
RGBrgb(144 78 255)
HSLhsl(262.37 100% 65.29%)
OKLCHoklch(0.6 0.25 294.92)
CMYKcmyk(43.53% 69.41% 0% 0%)
Android#ff904eff

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.44:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.71:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

color / background
color: #904eff;
background-color: #904eff;
bg-[#904eff]