Skip to content
Vectorlight.net

#704fdf

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

HEX
#704fdf
RGB
112, 79, 223
HSL
253.75°, 69.23%, 59.22%
OKLCH
0.54 0.21 287.99
Names
—
Lists

Codes

FormatValue
HEX#704fdf
RGBrgb(112 79 223)
HSLhsl(253.75 69.23% 59.22%)
OKLCHoklch(0.54 0.21 287.99)
CMYKcmyk(49.78% 64.57% 0% 12.55%)
Android#ff704fdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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