Skip to content
Vectorlight.net

#db98dc

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

HEX
#db98dc
RGB
219, 152, 220
HSL
299.12°, 49.28%, 72.94%
OKLCH
0.77 0.12 326.17
Names
—
Lists

Codes

FormatValue
HEX#db98dc
RGBrgb(219 152 220)
HSLhsl(299.12 49.28% 72.94%)
OKLCHoklch(0.77 0.12 326.17)
CMYKcmyk(0.45% 30.91% 0% 13.73%)
Android#ffdb98dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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