Skip to content
Vectorlight.net

#a275cb

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

HEX
#a275cb
RGB
162, 117, 203
HSL
271.4°, 45.26%, 62.75%
OKLCH
0.64 0.13 307.14
Names
—
Lists

Codes

FormatValue
HEX#a275cb
RGBrgb(162 117 203)
HSLhsl(271.4 45.26% 62.75%)
OKLCHoklch(0.64 0.13 307.14)
CMYKcmyk(20.2% 42.36% 0% 20.39%)
Android#ffa275cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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