Skip to content
Vectorlight.net

#a272cf

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

HEX
#a272cf
RGB
162, 114, 207
HSL
270.97°, 49.21%, 62.94%
OKLCH
0.64 0.14 306.59
Names
—
Lists

Codes

FormatValue
HEX#a272cf
RGBrgb(162 114 207)
HSLhsl(270.97 49.21% 62.94%)
OKLCHoklch(0.64 0.14 306.59)
CMYKcmyk(21.74% 44.93% 0% 18.82%)
Android#ffa272cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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