Skip to content
Vectorlight.net

#cf18dd

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

HEX
#cf18dd
RGB
207, 24, 221
HSL
295.74°, 80.41%, 48.04%
OKLCH
0.61 0.28 324.7
Names
—
Lists

Codes

FormatValue
HEX#cf18dd
RGBrgb(207 24 221)
HSLhsl(295.74 80.41% 48.04%)
OKLCHoklch(0.61 0.28 324.7)
CMYKcmyk(6.33% 89.14% 0% 13.33%)
Android#ffcf18dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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