Skip to content

#ce2ff9

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

RGB
206, 47, 249
HSL
287°, 94%, 58%
CMYK
17, 81, 0, 2
Luminance
0.2199

Every format

HEX#ce2ff9
RGBrgb(206, 47, 249)
HSLhsl(287, 94%, 58%)
CMYKcmyk(17%, 81%, 0%, 2%)
LABlab(54.0 83.7 -68.0)
LCHlch(54.0 107.9 320.9)
OKLCHoklch(0.641 0.284 317.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2ff9 on white: 3.89:1
AA ✗ fail · AA-large · AAA
Aa
#ce2ff9 on black: 5.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green18.4%
Blue97.6%

CMYK percentages

Cyan17.3%
Magenta81.1%
Yellow0.0%
Key (black)2.4%

Color previews

#ce2ff9 text on a black background

contrast 5.40:1

Card sample

#ce2ff9 text on a white background

contrast 3.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2ff9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2ff9 in the Color Lab