Skip to content
Vectorlight.net

#d98ddb

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

HEX
#d98ddb
RGB
217, 141, 219
HSL
298.46°, 52%, 70.59%
OKLCH
0.75 0.14 325.95
Names
—
Lists

Codes

FormatValue
HEX#d98ddb
RGBrgb(217 141 219)
HSLhsl(298.46 52% 70.59%)
OKLCHoklch(0.75 0.14 325.95)
CMYKcmyk(0.91% 35.62% 0% 14.12%)
Android#ffd98ddb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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