Skip to content

#ce0aff

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

RGB
206, 10, 255
HSL
288°, 100%, 52%
CMYK
19, 96, 0, 0
Luminance
0.2056

Every format

HEX#ce0aff
RGBrgb(206, 10, 255)
HSLhsl(288, 100%, 52%)
CMYKcmyk(19%, 96%, 0%, 0%)
LABlab(52.5 90.5 -73.9)
LCHlch(52.5 116.9 320.8)
OKLCHoklch(0.632 0.305 316.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce0aff on white: 4.11:1
AA ✗ fail · AA-large · AAA
Aa
#ce0aff on black: 5.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green3.9%
Blue100.0%

CMYK percentages

Cyan19.2%
Magenta96.1%
Yellow0.0%
Key (black)0.0%

Color previews

#ce0aff text on a black background

contrast 5.11:1

Card sample

#ce0aff text on a white background

contrast 4.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce0aff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce0aff in the Color Lab