Skip to content
Vectorlight.net

#a048fa

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

HEX
#a048fa
RGB
160, 72, 250
HSL
269.66°, 94.68%, 63.14%
OKLCH
0.61 0.25 301.86
Names
—
Lists

Codes

FormatValue
HEX#a048fa
RGBrgb(160 72 250)
HSLhsl(269.66 94.68% 63.14%)
OKLCHoklch(0.61 0.25 301.86)
CMYKcmyk(36% 71.2% 0% 1.96%)
Android#ffa048fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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