Skip to content
Vectorlight.net

#d17fff

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

HEX
#d17fff
RGB
209, 127, 255
HSL
278.44°, 100%, 74.9%
OKLCH
0.73 0.19 312.1
Names
—
Lists

Codes

FormatValue
HEX#d17fff
RGBrgb(209 127 255)
HSLhsl(278.44 100% 74.9%)
OKLCHoklch(0.73 0.19 312.1)
CMYKcmyk(18.04% 50.2% 0% 0%)
Android#ffd17fff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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