Skip to content
Vectorlight.net

#d99cfd

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

HEX
#d99cfd
RGB
217, 156, 253
HSL
277.73°, 96.04%, 80.2%
OKLCH
0.79 0.15 312.19
Names
—
Lists

Codes

FormatValue
HEX#d99cfd
RGBrgb(217 156 253)
HSLhsl(277.73 96.04% 80.2%)
OKLCHoklch(0.79 0.15 312.19)
CMYKcmyk(14.23% 38.34% 0% 0.78%)
Android#ffd99cfd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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