Skip to content
Vectorlight.net

#dab4fd

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

HEX
#dab4fd
RGB
218, 180, 253
HSL
271.23°, 94.81%, 84.9%
OKLCH
0.83 0.11 307.92
Names
—
Lists

Codes

FormatValue
HEX#dab4fd
RGBrgb(218 180 253)
HSLhsl(271.23 94.81% 84.9%)
OKLCHoklch(0.83 0.11 307.92)
CMYKcmyk(13.83% 28.85% 0% 0.78%)
Android#ffdab4fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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