Skip to content
Vectorlight.net

#a276bc

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

HEX
#a276bc
RGB
162, 118, 188
HSL
277.71°, 34.31%, 60%
OKLCH
0.64 0.11 312.26
Names
—
Lists

Codes

FormatValue
HEX#a276bc
RGBrgb(162 118 188)
HSLhsl(277.71 34.31% 60%)
OKLCHoklch(0.64 0.11 312.26)
CMYKcmyk(13.83% 37.23% 0% 26.27%)
Android#ffa276bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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