Skip to content
Vectorlight.net

#684acc

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

HEX
#684acc
RGB
104, 74, 204
HSL
253.85°, 56.03%, 54.51%
OKLCH
0.52 0.19 288.42
Names
—
Lists

Codes

FormatValue
HEX#684acc
RGBrgb(104 74 204)
HSLhsl(253.85 56.03% 54.51%)
OKLCHoklch(0.52 0.19 288.42)
CMYKcmyk(49.02% 63.73% 0% 20%)
Android#ff684acc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #684acc;
background-color: #684acc;
bg-[#684acc]