Skip to content
Vectorlight.net

#a54deb

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

HEX
#a54deb
RGB
165, 77, 235
HSL
273.42°, 79.8%, 61.18%
OKLCH
0.61 0.23 306.19
Names
—
Lists

Codes

FormatValue
HEX#a54deb
RGBrgb(165 77 235)
HSLhsl(273.42 79.8% 61.18%)
OKLCHoklch(0.61 0.23 306.19)
CMYKcmyk(29.79% 67.23% 0% 7.84%)
Android#ffa54deb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.32:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.86:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#a54deb"
Gradient stop
<stop stop-color="#a54deb"/>
CSS variable + fill
:root { --c: #a54deb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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