Skip to content
Vectorlight.net

#cb04d8

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

HEX
#cb04d8
RGB
203, 4, 216
HSL
296.32°, 96.36%, 43.14%
OKLCH
0.6 0.28 325.01
Names
—
Lists

Codes

FormatValue
HEX#cb04d8
RGBrgb(203 4 216)
HSLhsl(296.32 96.36% 43.14%)
OKLCHoklch(0.6 0.28 325.01)
CMYKcmyk(6.02% 98.15% 0% 15.29%)
Android#ffcb04d8

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.61:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.54:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#cb04d8"
Gradient stop
<stop stop-color="#cb04d8"/>
CSS variable + fill
:root { --c: #cb04d8; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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