Skip to content
Vectorlight.net

#682be1

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

HEX
#682be1
RGB
104, 43, 225
HSL
260.11°, 75.21%, 52.55%
OKLCH
0.5 0.25 289.04
Names
—
Lists

Codes

FormatValue
HEX#682be1
RGBrgb(104 43 225)
HSLhsl(260.11 75.21% 52.55%)
OKLCHoklch(0.5 0.25 289.04)
CMYKcmyk(53.78% 80.89% 0% 11.76%)
Android#ff682be1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #682be1;
background-color: #682be1;
bg-[#682be1]