Skip to content
Vectorlight.net

#d78cee

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

HEX
#d78cee
RGB
215, 140, 238
HSL
285.92°, 74.24%, 74.12%
OKLCH
0.75 0.16 317.98
Names
—
Lists

Codes

FormatValue
HEX#d78cee
RGBrgb(215 140 238)
HSLhsl(285.92 74.24% 74.12%)
OKLCHoklch(0.75 0.16 317.98)
CMYKcmyk(9.66% 41.18% 0% 6.67%)
Android#ffd78cee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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