Skip to content
Vectorlight.net

#a68eeb

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

HEX
#a68eeb
RGB
166, 142, 235
HSL
255.48°, 69.92%, 73.92%
OKLCH
0.71 0.13 294.57
Names
—
Lists

Codes

FormatValue
HEX#a68eeb
RGBrgb(166 142 235)
HSLhsl(255.48 69.92% 73.92%)
OKLCHoklch(0.71 0.13 294.57)
CMYKcmyk(29.36% 39.57% 0% 7.84%)
Android#ffa68eeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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