Skip to content

#ce0fff

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

RGB
206, 15, 255
HSL
288°, 100%, 53%
CMYK
19, 94, 0, 0
Luminance
0.2068

Every format

HEX#ce0fff
RGBrgb(206, 15, 255)
HSLhsl(288, 100%, 53%)
CMYKcmyk(19%, 94%, 0%, 0%)
LABlab(52.6 90.1 -73.7)
LCHlch(52.6 116.4 320.7)
OKLCHoklch(0.633 0.304 316.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce0fff on white: 4.09:1
AA ✗ fail · AA-large · AAA
Aa
#ce0fff on black: 5.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green5.9%
Blue100.0%

CMYK percentages

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

Color previews

#ce0fff text on a black background

contrast 5.14:1

Card sample

#ce0fff text on a white background

contrast 4.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce0fff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce0fff in the Color Lab