Skip to content
Vectorlight.net

#a68fed

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

HEX
#a68fed
RGB
166, 143, 237
HSL
254.68°, 72.31%, 74.51%
OKLCH
0.71 0.14 293.9
Names
—
Lists

Codes

FormatValue
HEX#a68fed
RGBrgb(166 143 237)
HSLhsl(254.68 72.31% 74.51%)
OKLCHoklch(0.71 0.14 293.9)
CMYKcmyk(29.96% 39.66% 0% 7.06%)
Android#ffa68fed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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