Skip to content
Vectorlight.net

#d76afa

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

HEX
#d76afa
RGB
215, 106, 250
HSL
285.42°, 93.51%, 69.8%
OKLCH
0.71 0.22 317.21
Names
—
Lists

Codes

FormatValue
HEX#d76afa
RGBrgb(215 106 250)
HSLhsl(285.42 93.51% 69.8%)
OKLCHoklch(0.71 0.22 317.21)
CMYKcmyk(14% 57.6% 0% 1.96%)
Android#ffd76afa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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