Skip to content
Vectorlight.net

#d351db

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

HEX
#d351db
RGB
211, 81, 219
HSL
296.52°, 65.71%, 58.82%
OKLCH
0.66 0.23 325.38
Names
—
Lists

Codes

FormatValue
HEX#d351db
RGBrgb(211 81 219)
HSLhsl(296.52 65.71% 58.82%)
OKLCHoklch(0.66 0.23 325.38)
CMYKcmyk(3.65% 63.01% 0% 14.12%)
Android#ffd351db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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