Skip to content
Vectorlight.net

#684cba

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

HEX
#684cba
RGB
104, 76, 186
HSL
255.27°, 44.35%, 51.37%
OKLCH
0.5 0.17 290.99
Names
—
Lists

Codes

FormatValue
HEX#684cba
RGBrgb(104 76 186)
HSLhsl(255.27 44.35% 51.37%)
OKLCHoklch(0.5 0.17 290.99)
CMYKcmyk(44.09% 59.14% 0% 27.06%)
Android#ff684cba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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