Skip to content
Vectorlight.net

#b742ff

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

HEX
#b742ff
RGB
183, 66, 255
HSL
277.14°, 100%, 62.94%
OKLCH
0.63 0.27 308.71
Names
—
Lists

Codes

FormatValue
HEX#b742ff
RGBrgb(183 66 255)
HSLhsl(277.14 100% 62.94%)
OKLCHoklch(0.63 0.27 308.71)
CMYKcmyk(28.24% 74.12% 0% 0%)
Android#ffb742ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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