Skip to content
Vectorlight.net

#d8bef5

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

HEX
#d8bef5
RGB
216, 190, 245
HSL
268.36°, 73.33%, 85.29%
OKLCH
0.84 0.08 306.21
Names
—
Lists

Codes

FormatValue
HEX#d8bef5
RGBrgb(216 190 245)
HSLhsl(268.36 73.33% 85.29%)
OKLCHoklch(0.84 0.08 306.21)
CMYKcmyk(11.84% 22.45% 0% 3.92%)
Android#ffd8bef5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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