Skip to content
Vectorlight.net

#d98bcb

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

HEX
#d98bcb
RGB
217, 139, 203
HSL
310.77°, 50.65%, 69.8%
OKLCH
0.74 0.13 333.48
Names
—
Lists

Codes

FormatValue
HEX#d98bcb
RGBrgb(217 139 203)
HSLhsl(310.77 50.65% 69.8%)
OKLCHoklch(0.74 0.13 333.48)
CMYKcmyk(0% 35.94% 6.45% 14.9%)
Android#ffd98bcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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