Skip to content
Vectorlight.net

#d7bafa

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

HEX
#d7bafa
RGB
215, 186, 250
HSL
267.19°, 86.49%, 85.49%
OKLCH
0.84 0.09 305.13
Names
—
Lists

Codes

FormatValue
HEX#d7bafa
RGBrgb(215 186 250)
HSLhsl(267.19 86.49% 85.49%)
OKLCHoklch(0.84 0.09 305.13)
CMYKcmyk(14% 25.6% 0% 1.96%)
Android#ffd7bafa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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