Skip to content
Vectorlight.net

#d497db

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

HEX
#d497db
RGB
212, 151, 219
HSL
293.82°, 48.57%, 72.55%
OKLCH
0.76 0.12 323.08
Names
—
Lists

Codes

FormatValue
HEX#d497db
RGBrgb(212 151 219)
HSLhsl(293.82 48.57% 72.55%)
OKLCHoklch(0.76 0.12 323.08)
CMYKcmyk(3.2% 31.05% 0% 14.12%)
Android#ffd497db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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