Skip to content
Vectorlight.net

#5702da

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

HEX
#5702da
RGB
87, 2, 218
HSL
263.61°, 98.18%, 43.14%
OKLCH
0.45 0.26 285.69
Names
—
Lists

Codes

FormatValue
HEX#5702da
RGBrgb(87 2 218)
HSLhsl(263.61 98.18% 43.14%)
OKLCHoklch(0.45 0.26 285.69)
CMYKcmyk(60.09% 99.08% 0% 14.51%)
Android#ff5702da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5702da;
background-color: #5702da;
bg-[#5702da]