Skip to content
Vectorlight.net

#c28bc5

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

HEX
#c28bc5
RGB
194, 139, 197
HSL
296.9°, 33.33%, 65.88%
OKLCH
0.71 0.1 324.85
Names
—
Lists

Codes

FormatValue
HEX#c28bc5
RGBrgb(194 139 197)
HSLhsl(296.9 33.33% 65.88%)
OKLCHoklch(0.71 0.1 324.85)
CMYKcmyk(1.52% 29.44% 0% 22.75%)
Android#ffc28bc5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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