Skip to content
Vectorlight.net

#a148fa

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

HEX
#a148fa
RGB
161, 72, 250
HSL
270°, 94.68%, 63.14%
OKLCH
0.61 0.25 302.19
Names
—
Lists

Codes

FormatValue
HEX#a148fa
RGBrgb(161 72 250)
HSLhsl(270 94.68% 63.14%)
OKLCHoklch(0.61 0.25 302.19)
CMYKcmyk(35.6% 71.2% 0% 1.96%)
Android#ffa148fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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