Skip to content
Vectorlight.net

#6602ab

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

HEX
#6602ab
RGB
102, 2, 171
HSL
275.5°, 97.69%, 33.92%
OKLCH
0.42 0.22 302.35
Names
—
Lists

Codes

FormatValue
HEX#6602ab
RGBrgb(102 2 171)
HSLhsl(275.5 97.69% 33.92%)
OKLCHoklch(0.42 0.22 302.35)
CMYKcmyk(40.35% 98.83% 0% 32.94%)
Android#ff6602ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6602ab;
background-color: #6602ab;
bg-[#6602ab]