Skip to content
Vectorlight.net

#a168fa

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

HEX
#a168fa
RGB
161, 104, 250
HSL
263.42°, 93.59%, 69.41%
OKLCH
0.65 0.21 298.34
Names
—
Lists

Codes

FormatValue
HEX#a168fa
RGBrgb(161 104 250)
HSLhsl(263.42 93.59% 69.41%)
OKLCHoklch(0.65 0.21 298.34)
CMYKcmyk(35.6% 58.4% 0% 1.96%)
Android#ffa168fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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