Skip to content
Vectorlight.net

#d5aafa

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

HEX
#d5aafa
RGB
213, 170, 250
HSL
272.25°, 88.89%, 82.35%
OKLCH
0.8 0.12 308.48
Names
—
Lists

Codes

FormatValue
HEX#d5aafa
RGBrgb(213 170 250)
HSLhsl(272.25 88.89% 82.35%)
OKLCHoklch(0.8 0.12 308.48)
CMYKcmyk(14.8% 32% 0% 1.96%)
Android#ffd5aafa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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