Skip to content

#cd4df0

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

RGB
205, 77, 240
HSL
287°, 85%, 62%
CMYK
15, 68, 0, 6
Luminance
0.2458

Every format

HEX#cd4df0
RGBrgb(205, 77, 240)
HSLhsl(287, 85%, 62%)
CMYKcmyk(15%, 68%, 0%, 6%)
LABlab(56.7 72.3 -58.8)
LCHlch(56.7 93.2 320.9)
OKLCHoklch(0.658 0.247 318.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd4df0 on white: 3.55:1
AA ✗ fail · AA-large · AAA
Aa
#cd4df0 on black: 5.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green30.2%
Blue94.1%

CMYK percentages

Cyan14.6%
Magenta67.9%
Yellow0.0%
Key (black)5.9%

Color previews

#cd4df0 text on a black background

contrast 5.92:1

Card sample

#cd4df0 text on a white background

contrast 3.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd4df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd4df0 in the Color Lab