Skip to content

#ce4ffc

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

RGB
206, 79, 252
HSL
284°, 97%, 65%
CMYK
18, 69, 0, 1
Luminance
0.2574

Every format

HEX#ce4ffc
RGBrgb(206, 79, 252)
HSLhsl(284, 97%, 65%)
CMYKcmyk(18%, 69%, 0%, 1%)
LABlab(57.8 74.0 -63.6)
LCHlch(57.8 97.6 319.3)
OKLCHoklch(0.669 0.256 315.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce4ffc on white: 3.42:1
AA ✗ fail · AA-large · AAA
Aa
#ce4ffc on black: 6.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green31.0%
Blue98.8%

CMYK percentages

Cyan18.3%
Magenta68.7%
Yellow0.0%
Key (black)1.2%

Color previews

#ce4ffc text on a black background

contrast 6.15:1

Card sample

#ce4ffc text on a white background

contrast 3.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce4ffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce4ffc in the Color Lab