Skip to content
Vectorlight.net

#a79bfa

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

HEX
#a79bfa
RGB
167, 155, 250
HSL
247.58°, 90.48%, 79.41%
OKLCH
0.74 0.14 288.41
Names
—
Lists

Codes

FormatValue
HEX#a79bfa
RGBrgb(167 155 250)
HSLhsl(247.58 90.48% 79.41%)
OKLCHoklch(0.74 0.14 288.41)
CMYKcmyk(33.2% 38% 0% 1.96%)
Android#ffa79bfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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