Skip to content
Vectorlight.net

#a68bed

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

HEX
#a68bed
RGB
166, 139, 237
HSL
256.53°, 73.13%, 73.73%
OKLCH
0.7 0.14 295.17
Names
—
Lists

Codes

FormatValue
HEX#a68bed
RGBrgb(166 139 237)
HSLhsl(256.53 73.13% 73.73%)
OKLCHoklch(0.7 0.14 295.17)
CMYKcmyk(29.96% 41.35% 0% 7.06%)
Android#ffa68bed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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