Skip to content
Vectorlight.net

#cb4acc

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

HEX
#cb4acc
RGB
203, 74, 204
HSL
299.54°, 56.03%, 54.51%
OKLCH
0.63 0.22 327.48
Names
—
Lists

Codes

FormatValue
HEX#cb4acc
RGBrgb(203 74 204)
HSLhsl(299.54 56.03% 54.51%)
OKLCHoklch(0.63 0.22 327.48)
CMYKcmyk(0.49% 63.73% 0% 20%)
Android#ffcb4acc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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