Skip to content
Vectorlight.net

#b948df

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

HEX
#b948df
RGB
185, 72, 223
HSL
284.9°, 70.23%, 57.84%
OKLCH
0.62 0.23 316.35
Names
—
Lists

Codes

FormatValue
HEX#b948df
RGBrgb(185 72 223)
HSLhsl(284.9 70.23% 57.84%)
OKLCHoklch(0.62 0.23 316.35)
CMYKcmyk(17.04% 67.71% 0% 12.55%)
Android#ffb948df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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