Skip to content
Vectorlight.net

#a78bda

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

HEX
#a78bda
RGB
167, 139, 218
HSL
261.27°, 51.63%, 70%
OKLCH
0.69 0.12 299.66
Names
—
Lists

Codes

FormatValue
HEX#a78bda
RGBrgb(167 139 218)
HSLhsl(261.27 51.63% 70%)
OKLCHoklch(0.69 0.12 299.66)
CMYKcmyk(23.39% 36.24% 0% 14.51%)
Android#ffa78bda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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