Skip to content
Vectorlight.net

#b45dcf

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

HEX
#b45dcf
RGB
180, 93, 207
HSL
285.79°, 54.29%, 58.82%
OKLCH
0.63 0.18 317.6
Names
—
Lists

Codes

FormatValue
HEX#b45dcf
RGBrgb(180 93 207)
HSLhsl(285.79 54.29% 58.82%)
OKLCHoklch(0.63 0.18 317.6)
CMYKcmyk(13.04% 55.07% 0% 18.82%)
Android#ffb45dcf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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