Skip to content
Vectorlight.net

#dab7fa

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

HEX
#dab7fa
RGB
218, 183, 250
HSL
271.34°, 87.01%, 84.9%
OKLCH
0.83 0.1 308.12
Names
—
Lists

Codes

FormatValue
HEX#dab7fa
RGBrgb(218 183 250)
HSLhsl(271.34 87.01% 84.9%)
OKLCHoklch(0.83 0.1 308.12)
CMYKcmyk(12.8% 26.8% 0% 1.96%)
Android#ffdab7fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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