Skip to content
Vectorlight.net

#d17bfb

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

HEX
#d17bfb
RGB
209, 123, 251
HSL
280.31°, 94.12%, 73.33%
OKLCH
0.73 0.2 313.53
Names
—
Lists

Codes

FormatValue
HEX#d17bfb
RGBrgb(209 123 251)
HSLhsl(280.31 94.12% 73.33%)
OKLCHoklch(0.73 0.2 313.53)
CMYKcmyk(16.73% 51% 0% 1.57%)
Android#ffd17bfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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