Skip to content
Vectorlight.net

#dca2f6

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

HEX
#dca2f6
RGB
220, 162, 246
HSL
281.43°, 82.35%, 80%
OKLCH
0.8 0.13 315
Names
—
Lists

Codes

FormatValue
HEX#dca2f6
RGBrgb(220 162 246)
HSLhsl(281.43 82.35% 80%)
OKLCHoklch(0.8 0.13 315)
CMYKcmyk(10.57% 34.15% 0% 3.53%)
Android#ffdca2f6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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