Skip to content
Vectorlight.net

#d771fc

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

HEX
#d771fc
RGB
215, 113, 252
HSL
284.03°, 95.86%, 71.57%
OKLCH
0.72 0.21 316.23
Names
—
Lists

Codes

FormatValue
HEX#d771fc
RGBrgb(215 113 252)
HSLhsl(284.03 95.86% 71.57%)
OKLCHoklch(0.72 0.21 316.23)
CMYKcmyk(14.68% 55.16% 0% 1.18%)
Android#ffd771fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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