Skip to content
Vectorlight.net

#a748bb

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

HEX
#a748bb
RGB
167, 72, 187
HSL
289.57°, 45.82%, 50.78%
OKLCH
0.57 0.19 320.31
Names
—
Lists

Codes

FormatValue
HEX#a748bb
RGBrgb(167 72 187)
HSLhsl(289.57 45.82% 50.78%)
OKLCHoklch(0.57 0.19 320.31)
CMYKcmyk(10.7% 61.5% 0% 26.67%)
Android#ffa748bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.89:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.28:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#a748bb"
Gradient stop
<stop stop-color="#a748bb"/>
CSS variable + fill
:root { --c: #a748bb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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