Skip to content

#ce2ff6

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

RGB
206, 47, 246
HSL
288°, 92%, 58%
CMYK
16, 81, 0, 4
Luminance
0.2181

Every format

HEX#ce2ff6
RGBrgb(206, 47, 246)
HSLhsl(288, 92%, 58%)
CMYKcmyk(16%, 81%, 0%, 4%)
LABlab(53.8 83.2 -66.7)
LCHlch(53.8 106.6 321.3)
OKLCHoklch(0.639 0.281 318.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2ff6 on white: 3.92:1
AA ✗ fail · AA-large · AAA
Aa
#ce2ff6 on black: 5.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green18.4%
Blue96.5%

CMYK percentages

Cyan16.3%
Magenta80.9%
Yellow0.0%
Key (black)3.5%

Color previews

#ce2ff6 text on a black background

contrast 5.36:1

Card sample

#ce2ff6 text on a white background

contrast 3.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2ff6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2ff6 in the Color Lab