Skip to content

#ce25fd

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

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

Every format

HEX#ce25fd
RGBrgb(206, 37, 253)
HSLhsl(287, 98%, 57%)
CMYKcmyk(19%, 85%, 0%, 1%)
LABlab(53.5 86.6 -71.1)
LCHlch(53.5 112.0 320.6)
OKLCHoklch(0.639 0.293 316.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce25fd on white: 3.96:1
AA ✗ fail · AA-large · AAA
Aa
#ce25fd on black: 5.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green14.5%
Blue99.2%

CMYK percentages

Cyan18.6%
Magenta85.4%
Yellow0.0%
Key (black)0.8%

Color previews

#ce25fd text on a black background

contrast 5.31:1

Card sample

#ce25fd text on a white background

contrast 3.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce25fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce25fd in the Color Lab