Skip to content
Vectorlight.net

#a875df

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

HEX
#a875df
RGB
168, 117, 223
HSL
268.87°, 62.35%, 66.67%
OKLCH
0.66 0.16 304.61
Names
—
Lists

Codes

FormatValue
HEX#a875df
RGBrgb(168 117 223)
HSLhsl(268.87 62.35% 66.67%)
OKLCHoklch(0.66 0.16 304.61)
CMYKcmyk(24.66% 47.53% 0% 12.55%)
Android#ffa875df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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