Skip to content

#ce27ff

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

RGB
206, 39, 255
HSL
286°, 100%, 58%
CMYK
19, 85, 0, 0
Luminance
0.2179

Every format

HEX#ce27ff
RGBrgb(206, 39, 255)
HSLhsl(286, 100%, 58%)
CMYKcmyk(19%, 85%, 0%, 0%)
LABlab(53.8 86.5 -71.7)
LCHlch(53.8 112.4 320.3)
OKLCHoklch(0.641 0.294 316.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green15.3%
Blue100.0%

CMYK percentages

Cyan19.2%
Magenta84.7%
Yellow0.0%
Key (black)0.0%

Color previews

#ce27ff text on a black background

contrast 5.36:1

Card sample

#ce27ff text on a white background

contrast 3.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce27ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce27ff in the Color Lab