Skip to content
Vectorlight.net

#d99fdb

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

HEX
#d99fdb
RGB
217, 159, 219
HSL
298°, 45.45%, 74.12%
OKLCH
0.78 0.1 325.42
Names
—
Lists

Codes

FormatValue
HEX#d99fdb
RGBrgb(217 159 219)
HSLhsl(298 45.45% 74.12%)
OKLCHoklch(0.78 0.1 325.42)
CMYKcmyk(0.91% 27.4% 0% 14.12%)
Android#ffd99fdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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