Skip to content
Vectorlight.net

#a285fc

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

HEX
#a285fc
RGB
162, 133, 252
HSL
254.62°, 95.2%, 75.49%
OKLCH
0.7 0.17 292.63
Names
—
Lists

Codes

FormatValue
HEX#a285fc
RGBrgb(162 133 252)
HSLhsl(254.62 95.2% 75.49%)
OKLCHoklch(0.7 0.17 292.63)
CMYKcmyk(35.71% 47.22% 0% 1.18%)
Android#ffa285fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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