Skip to content
Vectorlight.net

#a178bd

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

HEX
#a178bd
RGB
161, 120, 189
HSL
275.65°, 34.33%, 60.59%
OKLCH
0.64 0.11 310.78
Names
—
Lists

Codes

FormatValue
HEX#a178bd
RGBrgb(161 120 189)
HSLhsl(275.65 34.33% 60.59%)
OKLCHoklch(0.64 0.11 310.78)
CMYKcmyk(14.81% 36.51% 0% 25.88%)
Android#ffa178bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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