Skip to content
Vectorlight.net

#d99dfb

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

HEX
#d99dfb
RGB
217, 157, 251
HSL
278.3°, 92.16%, 80%
OKLCH
0.79 0.14 312.65
Names
—
Lists

Codes

FormatValue
HEX#d99dfb
RGBrgb(217 157 251)
HSLhsl(278.3 92.16% 80%)
OKLCHoklch(0.79 0.14 312.65)
CMYKcmyk(13.55% 37.45% 0% 1.57%)
Android#ffd99dfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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