Skip to content
Vectorlight.net

#a254bc

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

HEX
#a254bc
RGB
162, 84, 188
HSL
285°, 43.7%, 53.33%
OKLCH
0.58 0.17 317
Names
—
Lists

Codes

FormatValue
HEX#a254bc
RGBrgb(162 84 188)
HSLhsl(285 43.7% 53.33%)
OKLCHoklch(0.58 0.17 317)
CMYKcmyk(13.83% 55.32% 0% 26.27%)
Android#ffa254bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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