Skip to content
Vectorlight.net

#a787ed

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

HEX
#a787ed
RGB
167, 135, 237
HSL
258.82°, 73.91%, 72.94%
OKLCH
0.7 0.15 296.83
Names
—
Lists

Codes

FormatValue
HEX#a787ed
RGBrgb(167 135 237)
HSLhsl(258.82 73.91% 72.94%)
OKLCHoklch(0.7 0.15 296.83)
CMYKcmyk(29.54% 43.04% 0% 7.06%)
Android#ffa787ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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