Skip to content

#ce3fec

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

RGB
206, 63, 236
HSL
290°, 82%, 59%
CMYK
13, 73, 0, 8
Luminance
0.2273

Every format

HEX#ce3fec
RGBrgb(206, 63, 236)
HSLhsl(290, 82%, 59%)
CMYKcmyk(13%, 73%, 0%, 8%)
LABlab(54.8 76.8 -59.5)
LCHlch(54.8 97.2 322.2)
OKLCHoklch(0.644 0.260 320.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce3fec on white: 3.79:1
AA ✗ fail · AA-large · AAA
Aa
#ce3fec on black: 5.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green24.7%
Blue92.5%

CMYK percentages

Cyan12.7%
Magenta73.3%
Yellow0.0%
Key (black)7.5%

Color previews

#ce3fec text on a black background

contrast 5.55:1

Card sample

#ce3fec text on a white background

contrast 3.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce3fec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce3fec in the Color Lab