Skip to content
Vectorlight.net

#a178db

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

HEX
#a178db
RGB
161, 120, 219
HSL
264.85°, 57.89%, 66.47%
OKLCH
0.65 0.15 301.56
Names
—
Lists

Codes

FormatValue
HEX#a178db
RGBrgb(161 120 219)
HSLhsl(264.85 57.89% 66.47%)
OKLCHoklch(0.65 0.15 301.56)
CMYKcmyk(26.48% 45.21% 0% 14.12%)
Android#ffa178db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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