Skip to content
Vectorlight.net

#b27ccc

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

HEX
#b27ccc
RGB
178, 124, 204
HSL
280.5°, 43.96%, 64.31%
OKLCH
0.67 0.13 314.2
Names
—
Lists

Codes

FormatValue
HEX#b27ccc
RGBrgb(178 124 204)
HSLhsl(280.5 43.96% 64.31%)
OKLCHoklch(0.67 0.13 314.2)
CMYKcmyk(12.75% 39.22% 0% 20%)
Android#ffb27ccc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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