Skip to content
Vectorlight.net

#d546fa

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

HEX
#d546fa
RGB
213, 70, 250
HSL
287.67°, 94.74%, 62.75%
OKLCH
0.67 0.27 318.42
Names
—
Lists

Codes

FormatValue
HEX#d546fa
RGBrgb(213 70 250)
HSLhsl(287.67 94.74% 62.75%)
OKLCHoklch(0.67 0.27 318.42)
CMYKcmyk(14.8% 72% 0% 1.96%)
Android#ffd546fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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