Skip to content
Vectorlight.net

#d46aee

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

HEX
#d46aee
RGB
212, 106, 238
HSL
288.18°, 79.52%, 67.45%
OKLCH
0.7 0.21 319.37
Names
—
Lists

Codes

FormatValue
HEX#d46aee
RGBrgb(212 106 238)
HSLhsl(288.18 79.52% 67.45%)
OKLCHoklch(0.7 0.21 319.37)
CMYKcmyk(10.92% 55.46% 0% 6.67%)
Android#ffd46aee

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.09: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="#d46aee"
Gradient stop
<stop stop-color="#d46aee"/>
CSS variable + fill
:root { --c: #d46aee; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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