Skip to content
Vectorlight.net

#a54ebe

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

HEX
#a54ebe
RGB
165, 78, 190
HSL
286.61°, 46.28%, 52.55%
OKLCH
0.58 0.18 318.12
Names
—
Lists

Codes

FormatValue
HEX#a54ebe
RGBrgb(165 78 190)
HSLhsl(286.61 46.28% 52.55%)
OKLCHoklch(0.58 0.18 318.12)
CMYKcmyk(13.16% 58.95% 0% 25.49%)
Android#ffa54ebe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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