Skip to content

#cd2cf3

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

RGB
205, 44, 243
HSL
289°, 89%, 56%
CMYK
16, 82, 0, 5
Luminance
0.2125

Every format

HEX#cd2cf3
RGBrgb(205, 44, 243)
HSLhsl(289, 89%, 56%)
CMYKcmyk(16%, 82%, 0%, 5%)
LABlab(53.2 83.2 -66.0)
LCHlch(53.2 106.2 321.6)
OKLCHoklch(0.634 0.281 318.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2cf3 on white: 4.00:1
AA ✗ fail · AA-large · AAA
Aa
#cd2cf3 on black: 5.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green17.3%
Blue95.3%

CMYK percentages

Cyan15.6%
Magenta81.9%
Yellow0.0%
Key (black)4.7%

Color previews

#cd2cf3 text on a black background

contrast 5.25:1

Card sample

#cd2cf3 text on a white background

contrast 4.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2cf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2cf3 in the Color Lab