Skip to content
Vectorlight.net

#684baf

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

HEX
#684baf
RGB
104, 75, 175
HSL
257.4°, 40%, 49.02%
OKLCH
0.5 0.15 293.39
Names
—
Lists

Codes

FormatValue
HEX#684baf
RGBrgb(104 75 175)
HSLhsl(257.4 40% 49.02%)
OKLCHoklch(0.5 0.15 293.39)
CMYKcmyk(40.57% 57.14% 0% 31.37%)
Android#ff684baf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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