Skip to content

#ce4fff

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

RGB
206, 79, 255
HSL
283°, 100%, 66%
CMYK
19, 69, 0, 0
Luminance
0.2593

Every format

HEX#ce4fff
RGBrgb(206, 79, 255)
HSLhsl(283, 100%, 66%)
CMYKcmyk(19%, 69%, 0%, 0%)
LABlab(58.0 74.5 -65.0)
LCHlch(58.0 98.9 318.9)
OKLCHoklch(0.670 0.258 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce4fff on white: 3.39:1
AA ✗ fail · AA-large · AAA
Aa
#ce4fff on black: 6.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green31.0%
Blue100.0%

CMYK percentages

Cyan19.2%
Magenta69.0%
Yellow0.0%
Key (black)0.0%

Color previews

#ce4fff text on a black background

contrast 6.19:1

Card sample

#ce4fff text on a white background

contrast 3.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce4fff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce4fff in the Color Lab