Skip to content
Vectorlight.net

#d8aafa

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

HEX
#d8aafa
RGB
216, 170, 250
HSL
274.5°, 88.89%, 82.35%
OKLCH
0.81 0.12 310.14
Names
—
Lists

Codes

FormatValue
HEX#d8aafa
RGBrgb(216 170 250)
HSLhsl(274.5 88.89% 82.35%)
OKLCHoklch(0.81 0.12 310.14)
CMYKcmyk(13.6% 32% 0% 1.96%)
Android#ffd8aafa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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