Skip to content
Vectorlight.net

#ddabfb

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

HEX
#ddabfb
RGB
221, 171, 251
HSL
277.5°, 90.91%, 82.75%
OKLCH
0.81 0.12 312.31
Names
—
Lists

Codes

FormatValue
HEX#ddabfb
RGBrgb(221 171 251)
HSLhsl(277.5 90.91% 82.75%)
OKLCHoklch(0.81 0.12 312.31)
CMYKcmyk(11.95% 31.87% 0% 1.57%)
Android#ffddabfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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