Skip to content
Vectorlight.net

#6a5fbe

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

HEX
#6a5fbe
RGB
106, 95, 190
HSL
246.95°, 42.22%, 55.88%
OKLCH
0.54 0.14 285.84
Names
—
Lists

Codes

FormatValue
HEX#6a5fbe
RGBrgb(106 95 190)
HSLhsl(246.95 42.22% 55.88%)
OKLCHoklch(0.54 0.14 285.84)
CMYKcmyk(44.21% 50% 0% 25.49%)
Android#ff6a5fbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6a5fbe;
background-color: #6a5fbe;
bg-[#6a5fbe]