Skip to content
Vectorlight.net

#ddabfa

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

HEX
#ddabfa
RGB
221, 171, 250
HSL
277.97°, 88.76%, 82.55%
OKLCH
0.81 0.12 312.66
Names
—
Lists

Codes

FormatValue
HEX#ddabfa
RGBrgb(221 171 250)
HSLhsl(277.97 88.76% 82.55%)
OKLCHoklch(0.81 0.12 312.66)
CMYKcmyk(11.6% 31.6% 0% 1.96%)
Android#ffddabfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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