Skip to content
Vectorlight.net

#dc97db

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

HEX
#dc97db
RGB
220, 151, 219
HSL
300.87°, 49.64%, 72.75%
OKLCH
0.77 0.12 327.16
Names
—
Lists

Codes

FormatValue
HEX#dc97db
RGBrgb(220 151 219)
HSLhsl(300.87 49.64% 72.75%)
OKLCHoklch(0.77 0.12 327.16)
CMYKcmyk(0% 31.36% 0.45% 13.73%)
Android#ffdc97db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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