Skip to content

#ce2cef

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

RGB
206, 44, 239
HSL
290°, 86%, 56%
CMYK
14, 82, 0, 6
Luminance
0.2116

Every format

HEX#ce2cef
RGBrgb(206, 44, 239)
HSLhsl(290, 86%, 56%)
CMYKcmyk(14%, 82%, 0%, 6%)
LABlab(53.1 82.7 -63.9)
LCHlch(53.1 104.5 322.3)
OKLCHoklch(0.633 0.278 319.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2cef on white: 4.01:1
AA ✗ fail · AA-large · AAA
Aa
#ce2cef on black: 5.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green17.3%
Blue93.7%

CMYK percentages

Cyan13.8%
Magenta81.6%
Yellow0.0%
Key (black)6.3%

Color previews

#ce2cef text on a black background

contrast 5.23:1

Card sample

#ce2cef text on a white background

contrast 4.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2cef in the Color Lab