Skip to content
Vectorlight.net

#663aba

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

HEX
#663aba
RGB
102, 58, 186
HSL
260.63°, 52.46%, 47.84%
OKLCH
0.48 0.19 293.67
Names
—
Lists

Codes

FormatValue
HEX#663aba
RGBrgb(102 58 186)
HSLhsl(260.63 52.46% 47.84%)
OKLCHoklch(0.48 0.19 293.67)
CMYKcmyk(45.16% 68.82% 0% 27.06%)
Android#ff663aba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #663aba;
background-color: #663aba;
bg-[#663aba]