Skip to content
Vectorlight.net

#d352fc

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

HEX
#d352fc
RGB
211, 82, 252
HSL
285.53°, 96.59%, 65.49%
OKLCH
0.68 0.25 316.87
Names
—
Lists

Codes

FormatValue
HEX#d352fc
RGBrgb(211 82 252)
HSLhsl(285.53 96.59% 65.49%)
OKLCHoklch(0.68 0.25 316.87)
CMYKcmyk(16.27% 67.46% 0% 1.18%)
Android#ffd352fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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