Skip to content

#cd49ff

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

RGB
205, 73, 255
HSL
284°, 100%, 64%
CMYK
20, 71, 0, 0
Luminance
0.2496

Every format

HEX#cd49ff
RGBrgb(205, 73, 255)
HSLhsl(284, 100%, 64%)
CMYKcmyk(20%, 71%, 0%, 0%)
LABlab(57.0 76.6 -66.5)
LCHlch(57.0 101.5 319.0)
OKLCHoklch(0.664 0.265 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd49ff on white: 3.50:1
AA ✗ fail · AA-large · AAA
Aa
#cd49ff on black: 5.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green28.6%
Blue100.0%

CMYK percentages

Cyan19.6%
Magenta71.4%
Yellow0.0%
Key (black)0.0%

Color previews

#cd49ff text on a black background

contrast 5.99:1

Card sample

#cd49ff text on a white background

contrast 3.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd49ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd49ff in the Color Lab