Skip to content
Vectorlight.net

#d166e8

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

HEX
#d166e8
RGB
209, 102, 232
HSL
289.38°, 73.86%, 65.49%
OKLCH
0.69 0.21 320.25
Names
—
Lists

Codes

FormatValue
HEX#d166e8
RGBrgb(209 102 232)
HSLhsl(289.38 73.86% 65.49%)
OKLCHoklch(0.69 0.21 320.25)
CMYKcmyk(9.91% 56.03% 0% 9.02%)
Android#ffd166e8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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