Skip to content
Vectorlight.net

#d2baff

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

HEX
#d2baff
RGB
210, 186, 255
HSL
260.87°, 100%, 86.47%
OKLCH
0.83 0.1 300.23
Names
—
Lists

Codes

FormatValue
HEX#d2baff
RGBrgb(210 186 255)
HSLhsl(260.87 100% 86.47%)
OKLCHoklch(0.83 0.1 300.23)
CMYKcmyk(17.65% 27.06% 0% 0%)
Android#ffd2baff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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