Skip to content
Vectorlight.net

#b285dc

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

HEX
#b285dc
RGB
178, 133, 220
HSL
271.03°, 55.41%, 69.22%
OKLCH
0.69 0.13 307.06
Names
—
Lists

Codes

FormatValue
HEX#b285dc
RGBrgb(178 133 220)
HSLhsl(271.03 55.41% 69.22%)
OKLCHoklch(0.69 0.13 307.06)
CMYKcmyk(19.09% 39.55% 0% 13.73%)
Android#ffb285dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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