Skip to content
Vectorlight.net

#b242bd

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

HEX
#b242bd
RGB
178, 66, 189
HSL
294.63°, 48.24%, 50%
OKLCH
0.58 0.2 324.05
Names
—
Lists

Codes

FormatValue
HEX#b242bd
RGBrgb(178 66 189)
HSLhsl(294.63 48.24% 50%)
OKLCHoklch(0.58 0.2 324.05)
CMYKcmyk(5.82% 65.08% 0% 25.88%)
Android#ffb242bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.76:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.40:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#b242bd"
Gradient stop
<stop stop-color="#b242bd"/>
CSS variable + fill
:root { --c: #b242bd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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