Skip to content
Vectorlight.net

#db7dfa

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

HEX
#db7dfa
RGB
219, 125, 250
HSL
285.12°, 92.59%, 73.53%
OKLCH
0.74 0.2 317.23
Names
—
Lists

Codes

FormatValue
HEX#db7dfa
RGBrgb(219 125 250)
HSLhsl(285.12 92.59% 73.53%)
OKLCHoklch(0.74 0.2 317.23)
CMYKcmyk(12.4% 50% 0% 1.96%)
Android#ffdb7dfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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