Skip to content
Vectorlight.net

#a888cd

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

HEX
#a888cd
RGB
168, 136, 205
HSL
267.83°, 40.83%, 66.86%
OKLCH
0.68 0.1 305.05
Names
—
Lists

Codes

FormatValue
HEX#a888cd
RGBrgb(168 136 205)
HSLhsl(267.83 40.83% 66.86%)
OKLCHoklch(0.68 0.1 305.05)
CMYKcmyk(18.05% 33.66% 0% 19.61%)
Android#ffa888cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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