Skip to content
Vectorlight.net

#6a0bcd

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

HEX
#6a0bcd
RGB
106, 11, 205
HSL
269.38°, 89.81%, 42.35%
OKLCH
0.46 0.25 295.39
Names
—
Lists

Codes

FormatValue
HEX#6a0bcd
RGBrgb(106 11 205)
HSLhsl(269.38 89.81% 42.35%)
OKLCHoklch(0.46 0.25 295.39)
CMYKcmyk(48.29% 94.63% 0% 19.61%)
Android#ff6a0bcd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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