Skip to content
Vectorlight.net

#a148da

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

HEX
#a148da
RGB
161, 72, 218
HSL
276.58°, 66.36%, 56.86%
OKLCH
0.58 0.22 309.16
Names
—
Lists

Codes

FormatValue
HEX#a148da
RGBrgb(161 72 218)
HSLhsl(276.58 66.36% 56.86%)
OKLCHoklch(0.58 0.22 309.16)
CMYKcmyk(26.15% 66.97% 0% 14.51%)
Android#ffa148da

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.71:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.45:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#a148da"
Gradient stop
<stop stop-color="#a148da"/>
CSS variable + fill
:root { --c: #a148da; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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