Skip to content
Vectorlight.net

#b48dfe

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

HEX
#b48dfe
RGB
180, 141, 254
HSL
260.71°, 98.26%, 77.45%
OKLCH
0.73 0.16 298.17
Names
—
Lists

Codes

FormatValue
HEX#b48dfe
RGBrgb(180 141 254)
HSLhsl(260.71 98.26% 77.45%)
OKLCHoklch(0.73 0.16 298.17)
CMYKcmyk(29.13% 44.49% 0% 0.39%)
Android#ffb48dfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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