Skip to content
Vectorlight.net

#a54fbf

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

HEX
#a54fbf
RGB
165, 79, 191
HSL
286.07°, 46.67%, 52.94%
OKLCH
0.58 0.18 317.72
Names
—
Lists

Codes

FormatValue
HEX#a54fbf
RGBrgb(165 79 191)
HSLhsl(286.07 46.67% 52.94%)
OKLCHoklch(0.58 0.18 317.72)
CMYKcmyk(13.61% 58.64% 0% 25.1%)
Android#ffa54fbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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