Skip to content

#cf49ff

a balanced, electric violet · warm · closest name: magenta

RGB
207, 73, 255
HSL
284°, 100%, 64%
CMYK
19, 71, 0, 0
Luminance
0.2525

Every format

HEX#cf49ff
RGBrgb(207, 73, 255)
HSLhsl(284, 100%, 64%)
CMYKcmyk(19%, 71%, 0%, 0%)
LABlab(57.3 77.0 -66.0)
LCHlch(57.3 101.4 319.4)
OKLCHoklch(0.666 0.265 315.5)

Copy-ready code

/* CSS */
color: #cf49ff;
background-color: #cf49ff;
/* Tailwind (arbitrary) */
class="text-[#cf49ff] bg-[#cf49ff]"
/* SCSS */
$brand: #cf49ff;
/* SwiftUI */
Color(red: 0.812, green: 0.286, blue: 1.000)
/* Android */
Color.parseColor("#cf49ff")

Accessibility — WCAG contrast

Aa
#cf49ff on white: 3.47:1
AA ✗ fail · AA-large · AAA
Aa
#cf49ff on black: 6.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green28.6%
Blue100.0%

CMYK percentages

Cyan18.8%
Magenta71.4%
Yellow0.0%
Key (black)0.0%

Color previews

#cf49ff text on a black background

contrast 6.05:1

Card sample

#cf49ff text on a white background

contrast 3.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cf49ff;
Background color
Panel with #cf49ff background
background-color: #cf49ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cf49ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(207, 73, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 73, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf49ff;
background: linear-gradient(135deg, #cf49ff, #FF49B6);

Monochromatic scale

Palettes built from #cf49ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf49ff in the Color Lab