Skip to content
Vectorlight.net

#ce42bb

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

HEX
#ce42bb
RGB
206, 66, 187
HSL
308.14°, 58.82%, 53.33%
OKLCH
0.62 0.22 333.83
Names
—
Lists

Codes

FormatValue
HEX#ce42bb
RGBrgb(206 66 187)
HSLhsl(308.14 58.82% 53.33%)
OKLCHoklch(0.62 0.22 333.83)
CMYKcmyk(0% 67.96% 9.22% 19.22%)
Android#ffce42bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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