Skip to content
Vectorlight.net

rebeccapurple (#663399)

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

HEX
#663399
RGB
102, 51, 153
HSL
270°, 50%, 40%
OKLCH
0.44 0.16 303.37
Names
rebeccapurple

Codes

FormatValue
HEX#663399
RGBrgb(102 51 153)
HSLhsl(270 50% 40%)
OKLCHoklch(0.44 0.16 303.37)
CMYKcmyk(33.33% 66.67% 0% 40%)
Android#ff663399

Names & lists

rebeccapurple CSS named

Web-safe: Yes

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #663399;
background-color: #663399;
bg-[#663399]