Skip to content
Vectorlight.net

#d181fd

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

HEX
#d181fd
RGB
209, 129, 253
HSL
278.71°, 96.88%, 74.9%
OKLCH
0.74 0.19 312.39
Names
—
Lists

Codes

FormatValue
HEX#d181fd
RGBrgb(209 129 253)
HSLhsl(278.71 96.88% 74.9%)
OKLCHoklch(0.74 0.19 312.39)
CMYKcmyk(17.39% 49.01% 0% 0.78%)
Android#ffd181fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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