Skip to content
Vectorlight.net

#a273bd

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

HEX
#a273bd
RGB
162, 115, 189
HSL
278.11°, 35.92%, 59.61%
OKLCH
0.63 0.12 312.47
Names
—
Lists

Codes

FormatValue
HEX#a273bd
RGBrgb(162 115 189)
HSLhsl(278.11 35.92% 59.61%)
OKLCHoklch(0.63 0.12 312.47)
CMYKcmyk(14.29% 39.15% 0% 25.88%)
Android#ffa273bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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