Skip to content

#ce2cff

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

RGB
206, 44, 255
HSL
286°, 100%, 59%
CMYK
19, 83, 0, 0
Luminance
0.2214

Every format

HEX#ce2cff
RGBrgb(206, 44, 255)
HSLhsl(286, 100%, 59%)
CMYKcmyk(19%, 83%, 0%, 0%)
LABlab(54.2 85.5 -71.1)
LCHlch(54.2 111.2 320.2)
OKLCHoklch(0.644 0.290 316.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2cff on white: 3.87:1
AA ✗ fail · AA-large · AAA
Aa
#ce2cff on black: 5.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green17.3%
Blue100.0%

CMYK percentages

Cyan19.2%
Magenta82.7%
Yellow0.0%
Key (black)0.0%

Color previews

#ce2cff text on a black background

contrast 5.43:1

Card sample

#ce2cff text on a white background

contrast 3.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2cff in the Color Lab