Skip to content
Vectorlight.net

#802adc

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

HEX
#802adc
RGB
128, 42, 220
HSL
268.99°, 71.77%, 51.37%
OKLCH
0.52 0.24 299.05
Names
—
Lists

Codes

FormatValue
HEX#802adc
RGBrgb(128 42 220)
HSLhsl(268.99 71.77% 51.37%)
OKLCHoklch(0.52 0.24 299.05)
CMYKcmyk(41.82% 80.91% 0% 13.73%)
Android#ff802adc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #802adc;
background-color: #802adc;
bg-[#802adc]