Skip to content

#ce27fd

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

RGB
206, 39, 253
HSL
287°, 98%, 57%
CMYK
19, 85, 0, 1
Luminance
0.2166

Every format

HEX#ce27fd
RGBrgb(206, 39, 253)
HSLhsl(287, 98%, 57%)
CMYKcmyk(19%, 85%, 0%, 1%)
LABlab(53.7 86.2 -70.8)
LCHlch(53.7 111.6 320.6)
OKLCHoklch(0.640 0.292 316.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce27fd on white: 3.94:1
AA ✗ fail · AA-large · AAA
Aa
#ce27fd on black: 5.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green15.3%
Blue99.2%

CMYK percentages

Cyan18.6%
Magenta84.6%
Yellow0.0%
Key (black)0.8%

Color previews

#ce27fd text on a black background

contrast 5.33:1

Card sample

#ce27fd text on a white background

contrast 3.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce27fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce27fd in the Color Lab