Skip to content
Vectorlight.net

#d8acfa

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

HEX
#d8acfa
RGB
216, 172, 250
HSL
273.85°, 88.64%, 82.75%
OKLCH
0.81 0.12 309.7
Names
—
Lists

Codes

FormatValue
HEX#d8acfa
RGBrgb(216 172 250)
HSLhsl(273.85 88.64% 82.75%)
OKLCHoklch(0.81 0.12 309.7)
CMYKcmyk(13.6% 31.2% 0% 1.96%)
Android#ffd8acfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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