Skip to content
Vectorlight.net

#d2b5fa

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

HEX
#d2b5fa
RGB
210, 181, 250
HSL
265.22°, 87.34%, 84.51%
OKLCH
0.82 0.1 303.51
Names
—
Lists

Codes

FormatValue
HEX#d2b5fa
RGBrgb(210 181 250)
HSLhsl(265.22 87.34% 84.51%)
OKLCHoklch(0.82 0.1 303.51)
CMYKcmyk(16% 27.6% 0% 1.96%)
Android#ffd2b5fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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