Skip to content

#cd2ff3

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

RGB
205, 47, 243
HSL
288°, 89%, 57%
CMYK
16, 81, 0, 5
Luminance
0.2148

Every format

HEX#cd2ff3
RGBrgb(205, 47, 243)
HSLhsl(288, 89%, 57%)
CMYKcmyk(16%, 81%, 0%, 5%)
LABlab(53.5 82.5 -65.6)
LCHlch(53.5 105.4 321.5)
OKLCHoklch(0.636 0.279 318.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2ff3 on white: 3.96:1
AA ✗ fail · AA-large · AAA
Aa
#cd2ff3 on black: 5.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green18.4%
Blue95.3%

CMYK percentages

Cyan15.6%
Magenta80.7%
Yellow0.0%
Key (black)4.7%

Color previews

#cd2ff3 text on a black background

contrast 5.30:1

Card sample

#cd2ff3 text on a white background

contrast 3.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2ff3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2ff3 in the Color Lab