Skip to content
Vectorlight.net

#dab6fa

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

HEX
#dab6fa
RGB
218, 182, 250
HSL
271.76°, 87.18%, 84.71%
OKLCH
0.83 0.1 308.4
Names
—
Lists

Codes

FormatValue
HEX#dab6fa
RGBrgb(218 182 250)
HSLhsl(271.76 87.18% 84.71%)
OKLCHoklch(0.83 0.1 308.4)
CMYKcmyk(12.8% 27.2% 0% 1.96%)
Android#ffdab6fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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