Skip to content
Vectorlight.net

#d17ff6

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

HEX
#d17ff6
RGB
209, 127, 246
HSL
281.34°, 86.86%, 73.14%
OKLCH
0.73 0.18 314.45
Names
—
Lists

Codes

FormatValue
HEX#d17ff6
RGBrgb(209 127 246)
HSLhsl(281.34 86.86% 73.14%)
OKLCHoklch(0.73 0.18 314.45)
CMYKcmyk(15.04% 48.37% 0% 3.53%)
Android#ffd17ff6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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