Skip to content
Vectorlight.net

#d662fc

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

HEX
#d662fc
RGB
214, 98, 252
HSL
285.19°, 96.25%, 68.63%
OKLCH
0.7 0.23 316.9
Names
—
Lists

Codes

FormatValue
HEX#d662fc
RGBrgb(214 98 252)
HSLhsl(285.19 96.25% 68.63%)
OKLCHoklch(0.7 0.23 316.9)
CMYKcmyk(15.08% 61.11% 0% 1.18%)
Android#ffd662fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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