Skip to content
Vectorlight.net

#dc7fdb

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

HEX
#dc7fdb
RGB
220, 127, 219
HSL
300.65°, 57.06%, 68.04%
OKLCH
0.73 0.16 327.47
Names
—
Lists

Codes

FormatValue
HEX#dc7fdb
RGBrgb(220 127 219)
HSLhsl(300.65 57.06% 68.04%)
OKLCHoklch(0.73 0.16 327.47)
CMYKcmyk(0% 42.27% 0.45% 13.73%)
Android#ffdc7fdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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