Skip to content
Vectorlight.net

#804afb

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

HEX
#804afb
RGB
128, 74, 251
HSL
258.31°, 95.68%, 63.73%
OKLCH
0.58 0.25 290.51
Names
—
Lists

Codes

FormatValue
HEX#804afb
RGBrgb(128 74 251)
HSLhsl(258.31 95.68% 63.73%)
OKLCHoklch(0.58 0.25 290.51)
CMYKcmyk(49% 70.52% 0% 1.57%)
Android#ff804afb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #804afb;
background-color: #804afb;
bg-[#804afb]