Skip to content
Vectorlight.net

#b48fee

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

HEX
#b48fee
RGB
180, 143, 238
HSL
263.37°, 73.64%, 74.71%
OKLCH
0.72 0.14 300.93
Names
—
Lists

Codes

FormatValue
HEX#b48fee
RGBrgb(180 143 238)
HSLhsl(263.37 73.64% 74.71%)
OKLCHoklch(0.72 0.14 300.93)
CMYKcmyk(24.37% 39.92% 0% 6.67%)
Android#ffb48fee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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