Skip to content
Vectorlight.net

#b255d2

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

HEX
#b255d2
RGB
178, 85, 210
HSL
284.64°, 58.14%, 57.84%
OKLCH
0.62 0.2 316.55
Names
—
Lists

Codes

FormatValue
HEX#b255d2
RGBrgb(178 85 210)
HSLhsl(284.64 58.14% 57.84%)
OKLCHoklch(0.62 0.2 316.55)
CMYKcmyk(15.24% 59.52% 0% 17.65%)
Android#ffb255d2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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