Skip to content
Vectorlight.net

#d18cdf

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

HEX
#d18cdf
RGB
209, 140, 223
HSL
289.88°, 56.46%, 71.18%
OKLCH
0.74 0.14 320.67
Names
—
Lists

Codes

FormatValue
HEX#d18cdf
RGBrgb(209 140 223)
HSLhsl(289.88 56.46% 71.18%)
OKLCHoklch(0.74 0.14 320.67)
CMYKcmyk(6.28% 37.22% 0% 12.55%)
Android#ffd18cdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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