Skip to content

#ce29ff

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

RGB
206, 41, 255
HSL
286°, 100%, 58%
CMYK
19, 84, 0, 0
Luminance
0.2193

Every format

HEX#ce29ff
RGBrgb(206, 41, 255)
HSLhsl(286, 100%, 58%)
CMYKcmyk(19%, 84%, 0%, 0%)
LABlab(54.0 86.1 -71.5)
LCHlch(54.0 111.9 320.3)
OKLCHoklch(0.642 0.292 316.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce29ff on white: 3.90:1
AA ✗ fail · AA-large · AAA
Aa
#ce29ff on black: 5.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green16.1%
Blue100.0%

CMYK percentages

Cyan19.2%
Magenta83.9%
Yellow0.0%
Key (black)0.0%

Color previews

#ce29ff text on a black background

contrast 5.39:1

Card sample

#ce29ff text on a white background

contrast 3.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce29ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce29ff in the Color Lab