Skip to content
Vectorlight.net

#dab5fa

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

HEX
#dab5fa
RGB
218, 181, 250
HSL
272.17°, 87.34%, 84.51%
OKLCH
0.83 0.1 308.68
Names
—
Lists

Codes

FormatValue
HEX#dab5fa
RGBrgb(218 181 250)
HSLhsl(272.17 87.34% 84.51%)
OKLCHoklch(0.83 0.1 308.68)
CMYKcmyk(12.8% 27.6% 0% 1.96%)
Android#ffdab5fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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