Skip to content

#cd49fc

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

RGB
205, 73, 252
HSL
284°, 97%, 64%
CMYK
19, 71, 0, 1
Luminance
0.2477

Every format

HEX#cd49fc
RGBrgb(205, 73, 252)
HSLhsl(284, 97%, 64%)
CMYKcmyk(19%, 71%, 0%, 1%)
LABlab(56.9 76.0 -65.2)
LCHlch(56.9 100.1 319.4)
OKLCHoklch(0.662 0.262 315.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd49fc on white: 3.53:1
AA ✗ fail · AA-large · AAA
Aa
#cd49fc on black: 5.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green28.6%
Blue98.8%

CMYK percentages

Cyan18.7%
Magenta71.0%
Yellow0.0%
Key (black)1.2%

Color previews

#cd49fc text on a black background

contrast 5.95:1

Card sample

#cd49fc text on a white background

contrast 3.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd49fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd49fc in the Color Lab