Skip to content
Vectorlight.net

#d377fc

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

HEX
#d377fc
RGB
211, 119, 252
HSL
281.5°, 95.68%, 72.75%
OKLCH
0.72 0.2 314.37
Names
—
Lists

Codes

FormatValue
HEX#d377fc
RGBrgb(211 119 252)
HSLhsl(281.5 95.68% 72.75%)
OKLCHoklch(0.72 0.2 314.37)
CMYKcmyk(16.27% 52.78% 0% 1.18%)
Android#ffd377fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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