Skip to content
Vectorlight.net

#a85cfa

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

HEX
#a85cfa
RGB
168, 92, 250
HSL
268.86°, 94.05%, 67.06%
OKLCH
0.64 0.23 302.52
Names
—
Lists

Codes

FormatValue
HEX#a85cfa
RGBrgb(168 92 250)
HSLhsl(268.86 94.05% 67.06%)
OKLCHoklch(0.64 0.23 302.52)
CMYKcmyk(32.8% 63.2% 0% 1.96%)
Android#ffa85cfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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