Skip to content
Vectorlight.net

#d79cf5

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

HEX
#d79cf5
RGB
215, 156, 245
HSL
279.78°, 81.65%, 78.63%
OKLCH
0.78 0.14 313.77
Names
—
Lists

Codes

FormatValue
HEX#d79cf5
RGBrgb(215 156 245)
HSLhsl(279.78 81.65% 78.63%)
OKLCHoklch(0.78 0.14 313.77)
CMYKcmyk(12.24% 36.33% 0% 3.92%)
Android#ffd79cf5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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