Skip to content
Vectorlight.net

#cf30cf

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

HEX
#cf30cf
RGB
207, 48, 207
HSL
300°, 62.35%, 50%
OKLCH
0.62 0.25 328.11
Names
—
Lists

Codes

FormatValue
HEX#cf30cf
RGBrgb(207 48 207)
HSLhsl(300 62.35% 50%)
OKLCHoklch(0.62 0.25 328.11)
CMYKcmyk(0% 76.81% 0% 18.82%)
Android#ffcf30cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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