Skip to content
Vectorlight.net

#d846fc

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

HEX
#d846fc
RGB
216, 70, 252
HSL
288.13°, 96.81%, 63.14%
OKLCH
0.67 0.27 318.8
Names
—
Lists

Codes

FormatValue
HEX#d846fc
RGBrgb(216 70 252)
HSLhsl(288.13 96.81% 63.14%)
OKLCHoklch(0.67 0.27 318.8)
CMYKcmyk(14.29% 72.22% 0% 1.18%)
Android#ffd846fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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