Skip to content
Vectorlight.net

#704faf

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

HEX
#704faf
RGB
112, 79, 175
HSL
260.63°, 37.8%, 49.8%
OKLCH
0.51 0.15 296.68
Names
—
Lists

Codes

FormatValue
HEX#704faf
RGBrgb(112 79 175)
HSLhsl(260.63 37.8% 49.8%)
OKLCHoklch(0.51 0.15 296.68)
CMYKcmyk(36% 54.86% 0% 31.37%)
Android#ff704faf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #704faf;
background-color: #704faf;
bg-[#704faf]