Skip to content
Vectorlight.net

#702eaf

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

HEX
#702eaf
RGB
112, 46, 175
HSL
270.7°, 58.37%, 43.33%
OKLCH
0.46 0.19 302.72
Names
—
Lists

Codes

FormatValue
HEX#702eaf
RGBrgb(112 46 175)
HSLhsl(270.7 58.37% 43.33%)
OKLCHoklch(0.46 0.19 302.72)
CMYKcmyk(36% 73.71% 0% 31.37%)
Android#ff702eaf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #702eaf;
background-color: #702eaf;
bg-[#702eaf]