Skip to content
Vectorlight.net

#b374ef

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

HEX
#b374ef
RGB
179, 116, 239
HSL
270.73°, 79.35%, 69.61%
OKLCH
0.68 0.18 305.73
Names
—
Lists

Codes

FormatValue
HEX#b374ef
RGBrgb(179 116 239)
HSLhsl(270.73 79.35% 69.61%)
OKLCHoklch(0.68 0.18 305.73)
CMYKcmyk(25.1% 51.46% 0% 6.27%)
Android#ffb374ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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