Skip to content
Vectorlight.net

#a273cb

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

HEX
#a273cb
RGB
162, 115, 203
HSL
272.05°, 45.83%, 62.35%
OKLCH
0.64 0.14 307.58
Names
—
Lists

Codes

FormatValue
HEX#a273cb
RGBrgb(162 115 203)
HSLhsl(272.05 45.83% 62.35%)
OKLCHoklch(0.64 0.14 307.58)
CMYKcmyk(20.2% 43.35% 0% 20.39%)
Android#ffa273cb

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="#a273cb"
Gradient stop
<stop stop-color="#a273cb"/>
CSS variable + fill
:root { --c: #a273cb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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