Skip to content
Vectorlight.net

#d16afe

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

HEX
#d16afe
RGB
209, 106, 254
HSL
281.76°, 98.67%, 70.59%
OKLCH
0.7 0.22 314.28
Names
—
Lists

Codes

FormatValue
HEX#d16afe
RGBrgb(209 106 254)
HSLhsl(281.76 98.67% 70.59%)
OKLCHoklch(0.7 0.22 314.28)
CMYKcmyk(17.72% 58.27% 0% 0.39%)
Android#ffd16afe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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