Skip to content
Vectorlight.net

#d6a2fd

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

HEX
#d6a2fd
RGB
214, 162, 253
HSL
274.29°, 95.79%, 81.37%
OKLCH
0.79 0.14 309.76
Names
—
Lists

Codes

FormatValue
HEX#d6a2fd
RGBrgb(214 162 253)
HSLhsl(274.29 95.79% 81.37%)
OKLCHoklch(0.79 0.14 309.76)
CMYKcmyk(15.42% 35.97% 0% 0.78%)
Android#ffd6a2fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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