Skip to content
Vectorlight.net

#b7afe5

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

HEX
#b7afe5
RGB
183, 175, 229
HSL
248.89°, 50.94%, 79.22%
OKLCH
0.78 0.08 291.3
Names
—
Lists

Codes

FormatValue
HEX#b7afe5
RGBrgb(183 175 229)
HSLhsl(248.89 50.94% 79.22%)
OKLCHoklch(0.78 0.08 291.3)
CMYKcmyk(20.09% 23.58% 0% 10.2%)
Android#ffb7afe5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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