Skip to content
Vectorlight.net

#b199fb

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

HEX
#b199fb
RGB
177, 153, 251
HSL
254.69°, 92.45%, 79.22%
OKLCH
0.74 0.14 293.98
Names
—
Lists

Codes

FormatValue
HEX#b199fb
RGBrgb(177 153 251)
HSLhsl(254.69 92.45% 79.22%)
OKLCHoklch(0.74 0.14 293.98)
CMYKcmyk(29.48% 39.04% 0% 1.57%)
Android#ffb199fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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