Skip to content

#ce2fff

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

RGB
206, 47, 255
HSL
286°, 100%, 59%
CMYK
19, 82, 0, 0
Luminance
0.2237

Every format

HEX#ce2fff
RGBrgb(206, 47, 255)
HSLhsl(286, 100%, 59%)
CMYKcmyk(19%, 82%, 0%, 0%)
LABlab(54.4 84.8 -70.7)
LCHlch(54.4 110.4 320.2)
OKLCHoklch(0.645 0.288 316.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2fff on white: 3.84:1
AA ✗ fail · AA-large · AAA
Aa
#ce2fff on black: 5.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green18.4%
Blue100.0%

CMYK percentages

Cyan19.2%
Magenta81.6%
Yellow0.0%
Key (black)0.0%

Color previews

#ce2fff text on a black background

contrast 5.47:1

Card sample

#ce2fff text on a white background

contrast 3.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2fff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2fff in the Color Lab