Skip to content
Vectorlight.net

#e780d4

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

HEX
#e780d4
RGB
231, 128, 212
HSL
311.07°, 68.21%, 70.39%
OKLCH
0.74 0.16 334.32
Names
—
Lists

Codes

FormatValue
HEX#e780d4
RGBrgb(231 128 212)
HSLhsl(311.07 68.21% 70.39%)
OKLCHoklch(0.74 0.16 334.32)
CMYKcmyk(0% 44.59% 8.23% 9.41%)
Android#ffe780d4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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