Skip to content
Vectorlight.net

#a28ecf

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

HEX
#a28ecf
RGB
162, 142, 207
HSL
258.46°, 40.37%, 68.43%
OKLCH
0.69 0.1 297.97
Names
—
Lists

Codes

FormatValue
HEX#a28ecf
RGBrgb(162 142 207)
HSLhsl(258.46 40.37% 68.43%)
OKLCHoklch(0.69 0.1 297.97)
CMYKcmyk(21.74% 31.4% 0% 18.82%)
Android#ffa28ecf

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.30: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="#a28ecf"
Gradient stop
<stop stop-color="#a28ecf"/>
CSS variable + fill
:root { --c: #a28ecf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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