Skip to content
Vectorlight.net

#ce31cd

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

HEX
#ce31cd
RGB
206, 49, 205
HSL
300.38°, 61.57%, 50%
OKLCH
0.62 0.25 328.38
Names
—
Lists

Codes

FormatValue
HEX#ce31cd
RGBrgb(206 49 205)
HSLhsl(300.38 61.57% 50%)
OKLCHoklch(0.62 0.25 328.38)
CMYKcmyk(0% 76.21% 0.49% 19.22%)
Android#ffce31cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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