Skip to content

#cf2df4

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

RGB
207, 45, 244
HSL
289°, 90%, 57%
CMYK
15, 82, 0, 4
Luminance
0.2167

Every format

HEX#cf2df4
RGBrgb(207, 45, 244)
HSLhsl(289, 90%, 57%)
CMYKcmyk(15%, 82%, 0%, 4%)
LABlab(53.7 83.5 -65.8)
LCHlch(53.7 106.3 321.8)
OKLCHoklch(0.638 0.282 318.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2df4 on white: 3.94:1
AA ✗ fail · AA-large · AAA
Aa
#cf2df4 on black: 5.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green17.6%
Blue95.7%

CMYK percentages

Cyan15.2%
Magenta81.6%
Yellow0.0%
Key (black)4.3%

Color previews

#cf2df4 text on a black background

contrast 5.33:1

Card sample

#cf2df4 text on a white background

contrast 3.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 45, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 45, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf2df4;
background: linear-gradient(135deg, #cf2df4, #F42D95);

Monochromatic scale

Palettes built from #cf2df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2df4 in the Color Lab