Skip to content

#ce2fee

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

RGB
206, 47, 238
HSL
290°, 85%, 56%
CMYK
13, 80, 0, 7
Luminance
0.2133

Every format

HEX#ce2fee
RGBrgb(206, 47, 238)
HSLhsl(290, 85%, 56%)
CMYKcmyk(13%, 80%, 0%, 7%)
LABlab(53.3 81.8 -63.0)
LCHlch(53.3 103.3 322.4)
OKLCHoklch(0.634 0.275 320.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green18.4%
Blue93.3%

CMYK percentages

Cyan13.4%
Magenta80.3%
Yellow0.0%
Key (black)6.7%

Color previews

#ce2fee text on a black background

contrast 5.27:1

Card sample

#ce2fee text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2fee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2fee in the Color Lab