Skip to content
Vectorlight.net

#b398ca

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

HEX
#b398ca
RGB
179, 152, 202
HSL
272.4°, 32.05%, 69.41%
OKLCH
0.72 0.08 309.01
Names
—
Lists

Codes

FormatValue
HEX#b398ca
RGBrgb(179 152 202)
HSLhsl(272.4 32.05% 69.41%)
OKLCHoklch(0.72 0.08 309.01)
CMYKcmyk(11.39% 24.75% 0% 20.78%)
Android#ffb398ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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