Skip to content

#ce49fc

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

RGB
206, 73, 252
HSL
285°, 97%, 64%
CMYK
18, 71, 0, 1
Luminance
0.2492

Every format

HEX#ce49fc
RGBrgb(206, 73, 252)
HSLhsl(285, 97%, 64%)
CMYKcmyk(18%, 71%, 0%, 1%)
LABlab(57.0 76.2 -64.9)
LCHlch(57.0 100.1 319.6)
OKLCHoklch(0.663 0.262 315.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce49fc on white: 3.51:1
AA ✗ fail · AA-large · AAA
Aa
#ce49fc on black: 5.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green28.6%
Blue98.8%

CMYK percentages

Cyan18.3%
Magenta71.0%
Yellow0.0%
Key (black)1.2%

Color previews

#ce49fc text on a black background

contrast 5.98:1

Card sample

#ce49fc text on a white background

contrast 3.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 73, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 73, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ce49fc;
background: linear-gradient(135deg, #ce49fc, #FC49B3);

Monochromatic scale

Palettes built from #ce49fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce49fc in the Color Lab