Skip to content
Vectorlight.net

#681ea8

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

HEX
#681ea8
RGB
104, 30, 168
HSL
272.17°, 69.7%, 38.82%
OKLCH
0.43 0.2 302.59
Names
—
Lists

Codes

FormatValue
HEX#681ea8
RGBrgb(104 30 168)
HSLhsl(272.17 69.7% 38.82%)
OKLCHoklch(0.43 0.2 302.59)
CMYKcmyk(38.1% 82.14% 0% 34.12%)
Android#ff681ea8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #681ea8;
background-color: #681ea8;
bg-[#681ea8]