Skip to content

#ce2eef

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

RGB
206, 46, 239
HSL
290°, 86%, 56%
CMYK
14, 81, 0, 6
Luminance
0.2131

Every format

HEX#ce2eef
RGBrgb(206, 46, 239)
HSLhsl(290, 86%, 56%)
CMYKcmyk(14%, 81%, 0%, 6%)
LABlab(53.3 82.2 -63.6)
LCHlch(53.3 104.0 322.3)
OKLCHoklch(0.634 0.277 319.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2eef on white: 3.99:1
AA ✗ fail · AA-large · AAA
Aa
#ce2eef on black: 5.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green18.0%
Blue93.7%

CMYK percentages

Cyan13.8%
Magenta80.8%
Yellow0.0%
Key (black)6.3%

Color previews

#ce2eef text on a black background

contrast 5.26:1

Card sample

#ce2eef text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2eef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2eef in the Color Lab