Skip to content
Vectorlight.net

#d748aa

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

HEX
#d748aa
RGB
215, 72, 170
HSL
318.88°, 64.13%, 56.27%
OKLCH
0.63 0.2 342.63
Names
—
Lists

Codes

FormatValue
HEX#d748aa
RGBrgb(215 72 170)
HSLhsl(318.88 64.13% 56.27%)
OKLCHoklch(0.63 0.2 342.63)
CMYKcmyk(0% 66.51% 20.93% 15.69%)
Android#ffd748aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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