Skip to content
Vectorlight.net

#d98ebf

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

HEX
#d98ebf
RGB
217, 142, 191
HSL
320.8°, 49.67%, 70.39%
OKLCH
0.74 0.11 340.71
Names
—
Lists

Codes

FormatValue
HEX#d98ebf
RGBrgb(217 142 191)
HSLhsl(320.8 49.67% 70.39%)
OKLCHoklch(0.74 0.11 340.71)
CMYKcmyk(0% 34.56% 11.98% 14.9%)
Android#ffd98ebf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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