Skip to content

#cd4df6

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

RGB
205, 77, 246
HSL
285°, 90%, 63%
CMYK
17, 69, 0, 4
Luminance
0.2494

Every format

HEX#cd4df6
RGBrgb(205, 77, 246)
HSLhsl(285, 90%, 63%)
CMYKcmyk(17%, 69%, 0%, 4%)
LABlab(57.0 73.4 -61.5)
LCHlch(57.0 95.8 320.0)
OKLCHoklch(0.662 0.252 316.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green30.2%
Blue96.5%

CMYK percentages

Cyan16.7%
Magenta68.7%
Yellow0.0%
Key (black)3.5%

Color previews

#cd4df6 text on a black background

contrast 5.99:1

Card sample

#cd4df6 text on a white background

contrast 3.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd4df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd4df6 in the Color Lab