Skip to content
Vectorlight.net

#702dcb

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

HEX
#702dcb
RGB
112, 45, 203
HSL
265.44°, 63.71%, 48.63%
OKLCH
0.49 0.22 296.12
Names
—
Lists

Codes

FormatValue
HEX#702dcb
RGBrgb(112 45 203)
HSLhsl(265.44 63.71% 48.63%)
OKLCHoklch(0.49 0.22 296.12)
CMYKcmyk(44.83% 77.83% 0% 20.39%)
Android#ff702dcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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