Skip to content
Vectorlight.net

#db7bdc

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

HEX
#db7bdc
RGB
219, 123, 220
HSL
299.38°, 58.08%, 67.25%
OKLCH
0.72 0.17 326.78
Names
—
Lists

Codes

FormatValue
HEX#db7bdc
RGBrgb(219 123 220)
HSLhsl(299.38 58.08% 67.25%)
OKLCHoklch(0.72 0.17 326.78)
CMYKcmyk(0.45% 44.09% 0% 13.73%)
Android#ffdb7bdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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