Skip to content
Vectorlight.net

#d366f4

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

HEX
#d366f4
RGB
211, 102, 244
HSL
286.06°, 86.59%, 67.84%
OKLCH
0.7 0.22 317.69
Names
—
Lists

Codes

FormatValue
HEX#d366f4
RGBrgb(211 102 244)
HSLhsl(286.06 86.59% 67.84%)
OKLCHoklch(0.7 0.22 317.69)
CMYKcmyk(13.52% 58.2% 0% 4.31%)
Android#ffd366f4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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