Skip to content
Vectorlight.net

#b262dc

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

HEX
#b262dc
RGB
178, 98, 220
HSL
279.34°, 63.54%, 62.35%
OKLCH
0.64 0.19 312.53
Names
—
Lists

Codes

FormatValue
HEX#b262dc
RGBrgb(178 98 220)
HSLhsl(279.34 63.54% 62.35%)
OKLCHoklch(0.64 0.19 312.53)
CMYKcmyk(19.09% 55.45% 0% 13.73%)
Android#ffb262dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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