Skip to content
Vectorlight.net

#a335cb

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

HEX
#a335cb
RGB
163, 53, 203
HSL
284°, 59.06%, 50.2%
OKLCH
0.56 0.23 315.19
Names
—
Lists

Codes

FormatValue
HEX#a335cb
RGBrgb(163 53 203)
HSLhsl(284 59.06% 50.2%)
OKLCHoklch(0.56 0.23 315.19)
CMYKcmyk(19.7% 73.89% 0% 20.39%)
Android#ffa335cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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