Skip to content
Vectorlight.net

#a273bf

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

HEX
#a273bf
RGB
162, 115, 191
HSL
277.11°, 37.25%, 60%
OKLCH
0.63 0.12 311.69
Names
—
Lists

Codes

FormatValue
HEX#a273bf
RGBrgb(162 115 191)
HSLhsl(277.11 37.25% 60%)
OKLCHoklch(0.63 0.12 311.69)
CMYKcmyk(15.18% 39.79% 0% 25.1%)
Android#ffa273bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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