Skip to content
Vectorlight.net

#dac7fb

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

HEX
#dac7fb
RGB
218, 199, 251
HSL
261.92°, 86.67%, 88.24%
OKLCH
0.86 0.07 301.56
Names
—
Lists

Codes

FormatValue
HEX#dac7fb
RGBrgb(218 199 251)
HSLhsl(261.92 86.67% 88.24%)
OKLCHoklch(0.86 0.07 301.56)
CMYKcmyk(13.15% 20.72% 0% 1.57%)
Android#ffdac7fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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