Skip to content
Vectorlight.net

#d4adfa

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

HEX
#d4adfa
RGB
212, 173, 250
HSL
270.39°, 88.51%, 82.94%
OKLCH
0.81 0.11 307.17
Names
—
Lists

Codes

FormatValue
HEX#d4adfa
RGBrgb(212 173 250)
HSLhsl(270.39 88.51% 82.94%)
OKLCHoklch(0.81 0.11 307.17)
CMYKcmyk(15.2% 30.8% 0% 1.96%)
Android#ffd4adfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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