Skip to content
Vectorlight.net

#a54cd7

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

HEX
#a54cd7
RGB
165, 76, 215
HSL
278.42°, 63.47%, 57.06%
OKLCH
0.59 0.21 311.04
Names
—
Lists

Codes

FormatValue
HEX#a54cd7
RGBrgb(165 76 215)
HSLhsl(278.42 63.47% 57.06%)
OKLCHoklch(0.59 0.21 311.04)
CMYKcmyk(23.26% 64.65% 0% 15.69%)
Android#ffa54cd7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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