Skip to content
Vectorlight.net

#d56aed

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

HEX
#d56aed
RGB
213, 106, 237
HSL
289.01°, 78.44%, 67.25%
OKLCH
0.7 0.21 319.98
Names
—
Lists

Codes

FormatValue
HEX#d56aed
RGBrgb(213 106 237)
HSLhsl(289.01 78.44% 67.25%)
OKLCHoklch(0.7 0.21 319.98)
CMYKcmyk(10.13% 55.27% 0% 7.06%)
Android#ffd56aed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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