Skip to content
Vectorlight.net

#d79afd

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

HEX
#d79afd
RGB
215, 154, 253
HSL
276.97°, 96.12%, 79.8%
OKLCH
0.78 0.15 311.59
Names
—
Lists

Codes

FormatValue
HEX#d79afd
RGBrgb(215 154 253)
HSLhsl(276.97 96.12% 79.8%)
OKLCHoklch(0.78 0.15 311.59)
CMYKcmyk(15.02% 39.13% 0% 0.78%)
Android#ffd79afd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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