Skip to content
Vectorlight.net

#b04eca

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

HEX
#b04eca
RGB
176, 78, 202
HSL
287.42°, 53.91%, 54.9%
OKLCH
0.6 0.2 318.67
Names
—
Lists

Codes

FormatValue
HEX#b04eca
RGBrgb(176 78 202)
HSLhsl(287.42 53.91% 54.9%)
OKLCHoklch(0.6 0.2 318.67)
CMYKcmyk(12.87% 61.39% 0% 20.78%)
Android#ffb04eca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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