Skip to content
Vectorlight.net

#d17aea

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

HEX
#d17aea
RGB
209, 122, 234
HSL
286.61°, 72.73%, 69.8%
OKLCH
0.72 0.18 318.36
Names
—
Lists

Codes

FormatValue
HEX#d17aea
RGBrgb(209 122 234)
HSLhsl(286.61 72.73% 69.8%)
OKLCHoklch(0.72 0.18 318.36)
CMYKcmyk(10.68% 47.86% 0% 8.24%)
Android#ffd17aea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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