Skip to content
Vectorlight.net

#dd86fc

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

HEX
#dd86fc
RGB
221, 134, 252
HSL
284.24°, 95.16%, 75.69%
OKLCH
0.75 0.18 316.66
Names
—
Lists

Codes

FormatValue
HEX#dd86fc
RGBrgb(221 134 252)
HSLhsl(284.24 95.16% 75.69%)
OKLCHoklch(0.75 0.18 316.66)
CMYKcmyk(12.3% 46.83% 0% 1.18%)
Android#ffdd86fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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