Skip to content
Vectorlight.net

#a51bdb

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

HEX
#a51bdb
RGB
165, 27, 219
HSL
283.13°, 78.05%, 48.24%
OKLCH
0.55 0.26 312.9
Names
—
Lists

Codes

FormatValue
HEX#a51bdb
RGBrgb(165 27 219)
HSLhsl(283.13 78.05% 48.24%)
OKLCHoklch(0.55 0.26 312.9)
CMYKcmyk(24.66% 87.67% 0% 14.12%)
Android#ffa51bdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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