Skip to content
Vectorlight.net

#a279fa

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

HEX
#a279fa
RGB
162, 121, 250
HSL
259.07°, 92.81%, 72.75%
OKLCH
0.67 0.19 295.68
Names
—
Lists

Codes

FormatValue
HEX#a279fa
RGBrgb(162 121 250)
HSLhsl(259.07 92.81% 72.75%)
OKLCHoklch(0.67 0.19 295.68)
CMYKcmyk(35.2% 51.6% 0% 1.96%)
Android#ffa279fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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