Skip to content
Vectorlight.net

#a288fd

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

HEX
#a288fd
RGB
162, 136, 253
HSL
253.33°, 96.69%, 76.27%
OKLCH
0.7 0.17 291.72
Names
—
Lists

Codes

FormatValue
HEX#a288fd
RGBrgb(162 136 253)
HSLhsl(253.33 96.69% 76.27%)
OKLCHoklch(0.7 0.17 291.72)
CMYKcmyk(35.97% 46.25% 0% 0.78%)
Android#ffa288fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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