Skip to content

#cf2df5

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

RGB
207, 45, 245
HSL
289°, 91%, 57%
CMYK
16, 82, 0, 4
Luminance
0.2173

Every format

HEX#cf2df5
RGBrgb(207, 45, 245)
HSLhsl(289, 91%, 57%)
CMYKcmyk(16%, 82%, 0%, 4%)
LABlab(53.8 83.7 -66.3)
LCHlch(53.8 106.7 321.6)
OKLCHoklch(0.639 0.282 318.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2df5 on white: 3.93:1
AA ✗ fail · AA-large · AAA
Aa
#cf2df5 on black: 5.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green17.6%
Blue96.1%

CMYK percentages

Cyan15.5%
Magenta81.6%
Yellow0.0%
Key (black)3.9%

Color previews

#cf2df5 text on a black background

contrast 5.35:1

Card sample

#cf2df5 text on a white background

contrast 3.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2df5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2df5 in the Color Lab