Skip to content
Vectorlight.net

#a275bd

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

HEX
#a275bd
RGB
162, 117, 189
HSL
277.5°, 35.29%, 60%
OKLCH
0.63 0.12 312.07
Names
—
Lists

Codes

FormatValue
HEX#a275bd
RGBrgb(162 117 189)
HSLhsl(277.5 35.29% 60%)
OKLCHoklch(0.63 0.12 312.07)
CMYKcmyk(14.29% 38.1% 0% 25.88%)
Android#ffa275bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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