Skip to content
Vectorlight.net

#d98bdd

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

HEX
#d98bdd
RGB
217, 139, 221
HSL
297.07°, 54.67%, 70.59%
OKLCH
0.74 0.14 325.17
Names
—
Lists

Codes

FormatValue
HEX#d98bdd
RGBrgb(217 139 221)
HSLhsl(297.07 54.67% 70.59%)
OKLCHoklch(0.74 0.14 325.17)
CMYKcmyk(1.81% 37.1% 0% 13.33%)
Android#ffd98bdd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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