Skip to content
Vectorlight.net

#a272bb

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

HEX
#a272bb
RGB
162, 114, 187
HSL
279.45°, 34.93%, 59.02%
OKLCH
0.63 0.12 313.45
Names
—
Lists

Codes

FormatValue
HEX#a272bb
RGBrgb(162 114 187)
HSLhsl(279.45 34.93% 59.02%)
OKLCHoklch(0.63 0.12 313.45)
CMYKcmyk(13.37% 39.04% 0% 26.67%)
Android#ffa272bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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